2013-01-07 09:04:09 +01:00
|
|
|
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
|
2013-01-11 15:00:54 +01:00
|
|
|
t.string :color, :default => "#ffffff"
|
2013-01-07 09:04:09 +01:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
end
|
|
|
|
|
end
|