Sha256: 76901ee699206a8df45e3f1804cc2161d1fe77ceff20be441166e06bb17d7bdc
Contents?: true
Size: 327 Bytes
Versions: 8
Compression:
Stored size: 327 Bytes
Contents
class CreateRealizes < ActiveRecord::Migration[4.2] def change create_table :realizes do |t| t.references :agent, :null => false t.references :expression, :null => false t.integer :position t.timestamps end add_index :realizes, :agent_id add_index :realizes, :expression_id end end
Version data entries
8 entries across 8 versions & 5 rubygems