forked from OpenNeo/impress
16 lines
307 B
Ruby
16 lines
307 B
Ruby
|
class CreateItemOutfitRelationships < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :item_outfit_relationships do |t|
|
||
|
t.integer :item_id
|
||
|
t.integer :outfit_id
|
||
|
t.boolean :is_worn
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :item_outfit_relationships
|
||
|
end
|
||
|
end
|