Remove onceoff job in migrate rake task.

This commit is contained in:
Guo Xiang Tan 2017-11-22 12:50:01 +08:00
parent edfa2c3af9
commit 26d14dbcbb
1 changed files with 0 additions and 1 deletions

View File

@ -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")