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

15 lines
274 B
Ruby

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