Closed Gigitsu closed 1 year ago
Setting a dynamic repo (as explained here) has no effect when you run migrations because it overwrites your dynamic repo with the default one.
Use repo.get_dynamic_repo() as the default value instead of repo
repo.get_dynamic_repo()
repo
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:
Problem
Setting a dynamic repo (as explained here) has no effect when you run migrations because it overwrites your dynamic repo with the default one.
Proposal
Use
repo.get_dynamic_repo()
as the default value instead ofrepo