Sha256: 59baf8608c2c7e5b006250752d4971d7a71a7698b1ea4f9a363b03a3cefd3dd2
Contents?: true
Size: 360 Bytes
Versions: 8
Compression:
Stored size: 360 Bytes
Contents
class CreateExemplifies < ActiveRecord::Migration[4.2] def change create_table :exemplifies do |t| t.integer :manifestation_id, :null => false t.integer :item_id, :null => false t.integer :position t.timestamps end add_index :exemplifies, :manifestation_id add_index :exemplifies, :item_id, :unique => true end end
Version data entries
8 entries across 8 versions & 4 rubygems