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

15 lines
301 B
Ruby
Raw Normal View History

# 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
t.string :color, default: '#ffffff'
2014-02-23 16:09:09 +02:00
t.timestamps
end
end
end