I am running on multiple repos on single otp app, it used to be separated into two app.
The problem is, when I run migration, it runs on both repos, because ecto migrate everything under priv/
I was aware about -r
and :ecto_repos
config, not putting one of the repo inside that config solves the problem.
But that’s not what I want, it will be better if ecto migration aware of module name or folder pattern to run migrations on that exact repo. Is there anyway to achieve that?