class CreateItemHasUseRestrictions < ActiveRecord::Migration
  def up
    create_table "item_has_use_restrictions", :force => true do |t|
      t.integer  "item_id",            :null => false
      t.integer  "use_restriction_id", :null => false
      t.datetime "created_at",         :null => false
      t.datetime "updated_at",         :null => false
    end

    add_index "item_has_use_restrictions", ["item_id"], :name => "index_item_has_use_restrictions_on_item_id"
    add_index "item_has_use_restrictions", ["use_restriction_id"], :name => "index_item_has_use_restrictions_on_use_restriction_id"
  end

  def down
  end
end
