2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-02-23 16:09:09 +02:00
|
|
|
class CreateDifficultyLevels < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
create_table :difficulty_levels do |t|
|
|
|
|
|
t.references :conference
|
|
|
|
|
t.string :title
|
|
|
|
|
t.text :description
|
2014-08-18 21:54:43 +03:00
|
|
|
t.string :color, default: '#ffffff'
|
2014-02-23 16:09:09 +02:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|