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, })