If we run mix ecto.migrate . only first command executed and second ignored.
I know mix don’t allow run same task twice. And I don’t think Mix.task.rerun or reenable will work here because its not custom task.
Is there any way to override it so both commands will execute?
Thanks
Sorry to resurrect an old thread, but in case anyone else comes across this…
If all you are wanting to do is run migrations from two different directories, then you don’t need ecto.migrate to run again, you can make an alias that runs both: