Add difficulty levels

This commit is contained in:
Stella 2014-02-23 16:09:09 +02:00
parent 4356616566
commit 5b35e25ecd
15 changed files with 119 additions and 3 deletions

View file

@ -0,0 +1,12 @@
class CreateDifficultyLevels < ActiveRecord::Migration
def change
create_table :difficulty_levels do |t|
t.references :conference
t.string :title
t.text :description
t.string :color, :default => "#ffffff"
t.timestamps
end
end
end