Closed jeffktan closed 4 months ago
Rails rake db:migrate executes the db:load_config task beforehand which sets the migrations path to pick up any gem added db/migrate paths: https://github.com/rails/rails/blob/main/activerecord/lib/active_record/railties/databases.rake#L22-L28 https://github.com/rails/rails/blob/main/activerecord/lib/active_record/railties/databases.rake#L22-L28
rake db:migrate
db:load_config
This gem needs to do the same here: https://github.com/ilyakatz/data-migrate/blob/main/tasks/databases.rake#L8-L39
Rails
rake db:migrate
executes thedb:load_config
task beforehand which sets the migrations path to pick up any gem added db/migrate paths: https://github.com/rails/rails/blob/main/activerecord/lib/active_record/railties/databases.rake#L22-L28 https://github.com/rails/rails/blob/main/activerecord/lib/active_record/railties/databases.rake#L22-L28This gem needs to do the same here: https://github.com/ilyakatz/data-migrate/blob/main/tasks/databases.rake#L8-L39