Log once off jobs and enqueue on db:migrate

This commit is contained in:
Robin Ward
2016-04-07 14:32:31 -04:00
parent 855f72deb6
commit 078b3bc87e
5 changed files with 43 additions and 6 deletions

View File

@ -0,0 +1,10 @@
class CreateOnceoffLogs < ActiveRecord::Migration
def change
create_table :onceoff_logs do |t|
t.string :job_name
t.timestamps null: false
end
add_index :onceoff_logs, :job_name
end
end