Sha256: 5bcf180ea46c64150845d59cd0e76e6be57127696d075590b97d56b5f5e4c273
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
class CreateItemHasUseRestrictions < ActiveRecord::Migration[5.2] def self.up create_table :item_has_use_restrictions do |t| t.references :item, index: true, foreign_key: true, null: false t.references :use_restriction, index: true, foreign_key: true, null: false t.timestamps end end def self.down drop_table :item_has_use_restrictions end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
enju_inventory-0.4.0.rc.1 | spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb |
enju_circulation-0.4.0.rc.1 | db/migrate/129_create_item_has_use_restrictions.rb |