From c9c2091714f4245f9d64d35d07cd445a5f90836c Mon Sep 17 00:00:00 2001 From: Alexis Viscogliosi Date: Thu, 31 Oct 2024 13:35:33 +0100 Subject: [PATCH] fix: doc --- docs/docs/04-api/100-migrating-in-go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/04-api/100-migrating-in-go.md b/docs/docs/04-api/100-migrating-in-go.md index 2f89337..1f99be3 100644 --- a/docs/docs/04-api/100-migrating-in-go.md +++ b/docs/docs/04-api/100-migrating-in-go.md @@ -25,7 +25,7 @@ func main() { err = amigo.NewAmigo(amigoctx.NewContext().WithDSN(dsn)).RunMigrations(amigo.RunMigrationParams{ DB: db, - Direction: types.MigrationDirectionDown, + Direction: types.MigrationDirectionUp, Migrations: migrations.Migrations, LogOutput: os.Stdout, })