Sha256: 4eeac1de2664f4a9d57d8615444c169203108dedd050ec06d603bf8856cdb9ef

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

Sequel.migration do
  up do
    if !mysql?
      alter_table(:webhook_executions) do
        add_index([:pact_publication_id], name: "webhook_executions_pact_publication_id_index")
      end
    end
  end

  down do
    if !mysql?
      alter_table(:webhook_executions) do
        drop_index([:pact_publication_id], name: "webhook_executions_pact_publication_id_index")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact_broker-2.107.0 db/migrations/20230428_add_index_for_webhook_executions_pact_publication_id.rb
pact_broker-2.107.0.beta.1 db/migrations/20230428_add_index_for_webhook_executions_pact_publication_id.rb