On second thought, enqueuing a job in a migration might be bad.
This commit is contained in:
parent
526573074c
commit
855f72deb6
|
@ -1,5 +0,0 @@
|
|||
class ScheduleEmojiGrant < ActiveRecord::Migration
|
||||
def up
|
||||
Jobs.enqueue(:grant_emoji)
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue