1
0
Fork 0
oldhaven/db/migrate/20110613135648_create_track...

19 lines
319 B
Ruby

class CreateTracks < ActiveRecord::Migration
def self.up
create_table :tracks do |t|
t.string :name
t.integer :album_id
t.integer :position
t.integer :bonus
t.integer :live
t.integer :acoustic
t.timestamps
end
end
def self.down
drop_table :tracks
end
end