osem-fcy/db/migrate/20140212172244_create_difficulty_levels.rb

13 lines
270 B
Ruby
Raw Normal View History

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