Sha256: b05c79b67996485a7b79ea0801b123f03197a75ae0644f06feb725a3d373cfd6

Contents?: true

Size: 345 Bytes

Versions: 297

Compression:

Stored size: 345 Bytes

Contents

class CreateAgentMerges < ActiveRecord::Migration
  def self.up
    create_table :agent_merges do |t|
      t.integer :agent_id, :agent_merge_list_id, :null => false

      t.timestamps
    end
    add_index :agent_merges, :agent_id
    add_index :agent_merges, :agent_merge_list_id
  end

  def self.down
    drop_table :agent_merges
  end
end

Version data entries

297 entries across 289 versions & 21 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.1/spec/dummy/db/migrate/133_create_agent_merges.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/dummy/db/migrate/133_create_agent_merges.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/db/migrate/133_create_agent_merges.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/dummy/db/migrate/133_create_agent_merges.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_manifestation_viewer-0.2.0/spec/dummy/db/migrate/133_create_agent_merges.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/dummy/db/migrate/133_create_agent_merges.rb
enju_library-0.2.2 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_seed-0.2.1 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_biblio-0.2.1 db/migrate/133_create_agent_merges.rb
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_library-0.2.1 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_circulation-0.2.1 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_question-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_inventory-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_seed-0.3.0.beta.2 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_purchase_request-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_bookmark-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_loc-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_manifestation_viewer-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb
enju_circulation-0.2.0 spec/dummy/db/migrate/133_create_agent_merges.rb