2019-04-28 11:56:16 +03:00
|
|
|
class CreateTracks < ActiveRecord::Migration[4.2]
|
2014-08-10 20:30:37 +03:00
|
|
|
def change
|
|
|
|
create_table :tracks do |t|
|
|
|
|
t.string :name, null: false
|
|
|
|
t.string :color, null: false
|
|
|
|
t.references :conference, index: true
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|