Fix incorrect test migration.
This commit is contained in:
parent
7b3631454d
commit
a1f60cfcb8
|
@ -23,7 +23,7 @@ task 'db:migrate', [:multisite] => ['environment', 'set_locale'] do |_, args|
|
|||
if Rails.env.test? && !args[:multisite]
|
||||
system("rake db:schema:dump")
|
||||
system("MULTISITE=multisite rake db:schema:load")
|
||||
system("MULTISITE=multisite rake db:migrate['multisite']")
|
||||
system("RAILS_DB=discourse_test_multisite rake db:migrate['multisite']")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue