Sha256: 96b2d1eb9aed2ffea866f167aa380703a7ec3c1df87d1519ceaba252591c98f3

Contents?: true

Size: 321 Bytes

Versions: 161

Compression:

Stored size: 321 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

161 entries across 161 versions & 19 rubygems

Version Path
enju_biblio-0.3.0.beta.2 db/migrate/20080830154109_create_realizes.rb