17 lines
322 B
Ruby
17 lines
322 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
|