1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20110712232259_create_closet_hangers.rb

16 lines
274 B
Ruby
Raw Normal View History

2011-07-12 16:37:16 -07:00
class CreateClosetHangers < ActiveRecord::Migration
def self.up
create_table :closet_hangers do |t|
t.integer :item_id
t.integer :user_id
t.integer :quantity
t.timestamps
end
end
def self.down
drop_table :closet_hangers
end
end