osem-fcy/db/migrate/20121223115125_create_tracks_table.rb
Matt Barringer b801f0dc19 - Restructuring the assets
- Worked on the schedule
- Removed some gems
2013-01-11 15:00:54 +01:00

16 lines
323 B
Ruby

class CreateTracksTable < ActiveRecord::Migration
def up
create_table :tracks do |t|
t.string :guid, :null => false
t.references :conference
t.string :name, :null => false
t.text :description
t.string :color, :default => "#ffffff"
t.timestamps
end
end
def down
end
end