Sha256: ae723fe8462031cdd028dd5068780cf92a2ad6762f4ac967eacd08d13b3e2ecf

Contents?: true

Size: 402 Bytes

Versions: 44

Compression:

Stored size: 402 Bytes

Contents

Sequel.migration do
  change do
    alter_table(:versions) do
      # Not actually sure which index it will use for OrderVersions, so CREATE ALL THE INDEXES!
      add_index [:number], name: "ndx_ver_num" # Not sure if this is useful give we use LIKE not EQ
      add_index [:order], name: "ndx_ver_ord"
      add_index [:pacticipant_id, :order], unique: true, name: "uq_ver_ppt_ord"
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.112.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.111.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.109.1 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.109.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.108.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.107.1 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.107.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.107.0.beta.1 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.106.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.105.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.104.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.103.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.102.2 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.102.1 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.102.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.101.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.100.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.99.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.98.0 db/migrations/000034_create_index_on_consumer_version_order.rb
pact_broker-2.97.0 db/migrations/000034_create_index_on_consumer_version_order.rb