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

16 lines
279 B
Ruby
Raw Permalink Normal View History

class CreateClosetHangers < ActiveRecord::Migration[4.2]
2011-07-12 16:37:16 -07:00
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