Sha256: 1a791a7a2457b9daf26f057d7e63bef03c19f8a8dc7e3db87d386f4ef6057df6

Contents?: true

Size: 856 Bytes

Versions: 1

Compression:

Stored size: 856 Bytes

Contents

# This migration comes from maestrano_connector_rails (originally 20151122163449)
class CreateMaestranoConnectorRailsIdMaps < ActiveRecord::Migration
  def change
    create_table :maestrano_connector_rails_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 :maestrano_connector_rails_id_maps, [:connec_id, :connec_entity, :organization_id], name: 'idmap_connec_index'
    add_index :maestrano_connector_rails_id_maps, [:external_id, :external_entity, :organization_id], name: 'idmap_external_index'
    add_index :maestrano_connector_rails_id_maps, :organization_id, name: 'idmap_organization_index'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.0.1 spec/dummy/db/migrate/20151209134449_create_maestrano_connector_rails_id_maps.maestrano_connector_rails.rb