discourse/db/migrate/20160407180149_create_onceo...

13 lines
251 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class CreateOnceoffLogs < ActiveRecord::Migration[4.2]
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