aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties
diff options
context:
space:
mode:
authorGreg Molnar <molnargerg@gmail.com>2014-05-02 21:55:31 +0100
committerGreg Molnar <molnargerg@gmail.com>2014-05-02 21:55:31 +0100
commitaac4840b42e4f91231488750e08a8f87dc0f6f01 (patch)
tree58c3fa5a0be9578e1befd73ce40b71b6f2391c3b /activerecord/lib/active_record/railties
parent3d87c26845095438b6c946dc4e1029280593fb91 (diff)
downloadrails-aac4840b42e4f91231488750e08a8f87dc0f6f01.tar.gz
rails-aac4840b42e4f91231488750e08a8f87dc0f6f01.tar.bz2
rails-aac4840b42e4f91231488750e08a8f87dc0f6f01.zip
make `db:structure:load` listed with `rake -T`
Diffstat (limited to 'activerecord/lib/active_record/railties')
-rw-r--r--activerecord/lib/active_record/railties/databases.rake2
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 6b0459ea37..9538ead5f1 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -278,7 +278,7 @@ db_namespace = namespace :db do
db_namespace['structure:dump'].reenable
end
- # desc "Recreate the databases from the structure.sql file"
+ desc "Recreate the databases from the structure.sql file"
task :load => [:environment, :load_config] do
ActiveRecord::Tasks::DatabaseTasks.load_schema(:sql, ENV['DB_STRUCTURE'])
end