Sha256: cf9f2023699379977a7d7e86cee49250c0f16b6fc6716b27c0bfb6e94b68d687
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
class CreateItemHasUseRestrictions < ActiveRecord::Migration def self.up create_table :item_has_use_restrictions do |t| t.integer :item_id, null: false t.integer :use_restriction_id, null: false t.timestamps end add_index :item_has_use_restrictions, :item_id add_index :item_has_use_restrictions, :use_restriction_id end def self.down drop_table :item_has_use_restrictions end end
Version data entries
3 entries across 3 versions & 1 rubygems