diff options
author | Tamir Duberstein <tamird@squareup.com> | 2015-02-02 15:51:00 -0500 |
---|---|---|
committer | Tamir Duberstein <tamird@squareup.com> | 2015-02-11 14:20:56 -0800 |
commit | 4f357ea104b0a69db332f6af17ffef174715bbc7 (patch) | |
tree | c0a3f7a335224f0c1202dc145289701c7afd48b5 /activerecord/lib/active_record/railties | |
parent | 933decceaf6092020ba7ba768b51b2db9d5b882f (diff) | |
download | rails-4f357ea104b0a69db332f6af17ffef174715bbc7.tar.gz rails-4f357ea104b0a69db332f6af17ffef174715bbc7.tar.bz2 rails-4f357ea104b0a69db332f6af17ffef174715bbc7.zip |
Schema creation doesn't load the app
Diffstat (limited to 'activerecord/lib/active_record/railties')
-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 dde4dfa83c..2591e7492d 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -286,7 +286,7 @@ db_namespace = namespace :db do end desc "Recreate the databases from the structure.sql file" - task :load => [:environment, :load_config] do + task :load => [:load_config] do ActiveRecord::Tasks::DatabaseTasks.load_schema_current(:sql, ENV['SCHEMA']) end |