Sha256: c58e002e2674ddfefba29ccd4c7e765e91827e05516241a3415d7a56f55bf55e

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

class CreateProduces < ActiveRecord::Migration
  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

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/047_create_produces.rb