Skip to content

Commit de804e9

Browse files
committed
Merge pull request rails#14952 from gregmolnar/schema_load
make `db:structure:load` listed with `rake -T`
2 parents 5757fe4 + aac4840 commit de804e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/railties/databases.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ db_namespace = namespace :db do
278278
db_namespace['structure:dump'].reenable
279279
end
280280

281-
# desc "Recreate the databases from the structure.sql file"
281+
desc "Recreate the databases from the structure.sql file"
282282
task :load => [:environment, :load_config] do
283283
ActiveRecord::Tasks::DatabaseTasks.load_schema(:sql, ENV['DB_STRUCTURE'])
284284
end

0 commit comments

Comments
 (0)