Remove onceoff job in migrate rake task.
This commit is contained in:
parent
edfa2c3af9
commit
26d14dbcbb
|
@ -28,7 +28,6 @@ end
|
|||
# we need to run seed_fu every time we run rails db:migrate
|
||||
task 'db:migrate', [:multisite] => ['environment', 'set_locale'] do |_, args|
|
||||
SeedFu.seed(DiscoursePluginRegistry.seed_paths)
|
||||
Jobs.enqueue_in(60, :enqueue_onceoffs)
|
||||
|
||||
if Rails.env.test? && !args[:multisite]
|
||||
system("rails db:schema:dump")
|
||||
|
|
Loading…
Reference in New Issue