diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2014-12-04 14:17:02 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2014-12-04 14:17:02 -0700 |
commit | 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb (patch) | |
tree | 2a519cd45667a810946c3bbdc77a9e3dd402cfe3 /activerecord | |
parent | 6c9ed6dbc62450cdb87559afd15798305e069146 (diff) | |
parent | 382a70c875c9378991c13874c43afd958a5d3809 (diff) | |
download | rails-08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb.tar.gz rails-08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb.tar.bz2 rails-08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb.zip |
Merge pull request #17920 from calebthompson/dont-rely-on-environment-task-for-schema-load
Remove environment dependency for db:schema:load
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index 6c09456c4d..4daf2a0e2b 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -240,7 +240,7 @@ db_namespace = namespace :db do end desc 'Load a schema.rb file into the database' - task :load => [:environment, :load_config] do + task :load => [:load_config] do ActiveRecord::Tasks::DatabaseTasks.load_schema_current(:ruby, ENV['SCHEMA']) end |