Sha256: 2ae91035a7e31883e916dcd43e5cc310faf3f5113b3f9ced39a22b207b247483

Contents?: true

Size: 350 Bytes

Versions: 8

Compression:

Stored size: 350 Bytes

Contents

class CreateAgentMerges < ActiveRecord::Migration[4.2]
  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

8 entries across 8 versions & 5 rubygems

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