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

19 lines
319 B
Ruby
Raw Normal View History

2011-06-14 16:05:12 +00:00
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