Sha256: 9f157cac6561729ebf5883b34bc9f73a44be1d3a2c57d2feb2e95c6cca327dfe
Contents?: true
Size: 332 Bytes
Versions: 8
Compression:
Stored size: 332 Bytes
Contents
class CreateProduces < ActiveRecord::Migration[4.2] def change create_table :produces do |t| t.references :agent, :null => false t.references :manifestation, :null => false t.integer :position t.timestamps end add_index :produces, :agent_id add_index :produces, :manifestation_id end end
Version data entries
8 entries across 8 versions & 5 rubygems