Sha256: 193207513d6f103e0c956a8b6703d2dc586ae14ea6aea9ba52a7fa629fe12a4f
Contents?: true
Size: 435 Bytes
Versions: 439
Compression:
Stored size: 435 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
439 entries across 432 versions & 12 rubygems