2013-01-07 09:04:09 +01:00
|
|
|
class CreateTracksTable < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :tracks do |t|
|
2014-07-21 14:49:05 +02:00
|
|
|
t.string :guid, null: false
|
2013-01-07 09:04:09 +01:00
|
|
|
t.references :conference
|
2014-07-21 14:49:05 +02:00
|
|
|
t.string :name, null: false
|
2013-01-07 09:04:09 +01:00
|
|
|
t.text :description
|
2014-08-18 21:54:43 +03:00
|
|
|
t.string :color, default: '#ffffff'
|
2013-01-07 09:04:09 +01:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
end
|
|
|
|
|
end
|