12 lines
241 B
Ruby
12 lines
241 B
Ruby
class CreateTracks < ActiveRecord::Migration
|
|
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
|