提交 aac4840b 编写于 作者: G Greg Molnar

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

上级 3d87c268
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册