Sha256: 4823762c5ac4c4c0ec1c58acc242f94846795e39f2fbb59386a0758130c5c76e

Contents?: true

Size: 647 Bytes

Versions: 97

Compression:

Stored size: 647 Bytes

Contents

class CreateIdMaps < ActiveRecord::Migration
  def change
    create_table :id_maps do |t|
      t.string :connec_id
      t.string :connec_entity
      t.string :external_id
      t.string :external_entity
      t.integer :organization_id
      t.datetime :last_push_to_connec
      t.datetime :last_push_to_external

      t.timestamps null: false
    end
    add_index :id_maps, [:connec_id, :connec_entity, :organization_id], name: 'idmap_connec_index'
    add_index :id_maps, [:external_id, :external_entity, :organization_id], name: 'idmap_external_index'
    add_index :id_maps, :organization_id, name: 'idmap_organization_index'
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC5 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.2.pre.RC4 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.2.pre.RC3 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.2.pre.RC2 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.2.pre.RC1 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.1 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC13 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC12 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC11 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC10 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC9 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC8 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-1.5.0 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC7 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC6 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC5 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC4 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC3 db/migrate/20151122163449_create_id_maps.rb
maestrano-connector-rails-2.0.0.pre.RC2 db/migrate/20151122163449_create_id_maps.rb