1
0
Fork 0
oldhaven/db/migrate/20110622000253_create_playl...

15 lines
253 B
Ruby
Raw Permalink Normal View History

2011-06-22 00:05:12 +00:00
class CreatePlaylistItems < ActiveRecord::Migration
def self.up
create_table :playlist_items do |t|
t.integer :playlist_id
t.integer :track_id
t.timestamps
end
end
def self.down
drop_table :playlist_items
end
end