Browse files

make `db:structure:load` listed with `rake -T`

  • Loading branch information...
1 parent 3d87c26 commit aac4840b42e4f91231488750e08a8f87dc0f6f01 @gregmolnar gregmolnar committed May 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/railties/databases.rake
View
2 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 aac4840

Please sign in to comment.