mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: If we run db:migrate on its own, it should load the environment
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ task 'db:rollback' => ['environment', 'set_locale'] do |_, args|
|
||||
end
|
||||
|
||||
# we need to run seed_fu every time we run rake db:migrate
|
||||
task 'db:migrate' => ['environment', 'set_locale'] do |_, args|
|
||||
task 'db:migrate' => ['load_config', 'environment', 'set_locale'] do |_, args|
|
||||
ActiveRecord::Tasks::DatabaseTasks.migrate
|
||||
|
||||
Rake::Task['db:_dump'].invoke
|
||||
|
||||
Reference in New Issue
Block a user