Run migration command twice inside aliases in mix file

Inside the aliases in mix file. If we define migration command like this:

defp aliases do
 "ecto.migrate": [
      "ecto.migrate  data/priv/repo/migrations",
      "ecto.migrate --migrations-path apps/al/priv/repo/migrations"


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?

mix won’t run tasks again that already have been run. You need to run them separately.