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-07-21 14:49:05 +02:00
|
|
|
t.string :color, default: "#ffffff"
|
2014-02-23 16:09:09 +02:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|