Skip to content

Commit

Permalink
Update lib/data_migrate/database_tasks.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Morozzzko authored Aug 20, 2024
1 parent 0d73af3 commit 3adf3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data_migrate/database_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def self.migrate_with_data

ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true

schema_mapped_versions = if rails_version_equal_to_or_higher_than_7_1
schema_mapped_versions = if DataMigrate::RailsHelper.rails_version_equal_to_or_higher_than_7_1
ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions
else
db_configs = ActiveRecord::Base.configurations.configs_for(env_name: ActiveRecord::Tasks::DatabaseTasks.env)
Expand Down

0 comments on commit 3adf3c8

Please sign in to comment.