DEV Community

Discussion on: How to Run Ecto Migrations on Production

atyborska93 profile image
Angelika Tyborska

Thank you for this! Saved me a lot of time.

In case somebody is looking for a way to rollback the last migration, just like I was, you need to pass those options to Ecto.Migrator:, path, :down, step: 1)
Enter fullscreen mode Exit fullscreen mode