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

Version Path
enju_purchase_request-0.3.2 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_loc-0.3.1 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_purchase_request-0.3.1 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_loc-0.3.0 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_purchase_request-0.3.0.beta.1 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_loc-0.3.0.beta.1 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_leaf-1.3.0.beta.2 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
enju_manifestation_viewer-0.3.0.beta.1 spec/dummy/db/migrate/20080830172106_create_exemplifies.rb