Permalink
Browse files

Merge pull request #14952 from gregmolnar/schema_load

make `db:structure:load` listed with `rake -T`
  • Loading branch information...
2 parents 5757fe4 + aac4840 commit de804e90d4f1af6c52012c78d82de6358574d0cd @senny senny committed May 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit de804e9

Please sign in to comment.