Ecto: Ecto.rollback migrates down more steps than it should inside an umbrella app

Created on 4 Apr 2017  路  1Comment  路  Source: elixir-ecto/ecto

When running ecto.rollback in an umbrella application in which multiple apps are using the same repo it will rollback more than 1 step (or more than "n" steps if you used -n).

Bug

Most helpful comment

I think we should make the migration tasks non-recursive and instead discover all unique repos in the umbrella apps and then run migrations on them.

>All comments

I think we should make the migration tasks non-recursive and instead discover all unique repos in the umbrella apps and then run migrations on them.

Was this page helpful?
0 / 5 - 0 ratings