forked from OpenNeo/impress
15 lines
274 B
Ruby
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
|