Skip to content

Commit

Permalink
Load config before db:migrate:with_data
Browse files Browse the repository at this point in the history
  • Loading branch information
wildmaples committed Apr 25, 2024
1 parent 55fdca8 commit 0650a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/databases.rake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require 'data_migrate/tasks/data_migrate_tasks'
namespace :db do
namespace :migrate do
desc "Migrate the database data and schema (options: VERSION=x, VERBOSE=false)."
task :with_data => :environment do
task :with_data => :load_config do
DataMigrate::DataMigrator.create_data_schema_table
ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true

Expand Down

0 comments on commit 0650a03

Please sign in to comment.