mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:48:45 +08:00
11 lines
215 B
Ruby
11 lines
215 B
Ruby
|
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
|