Sha256: 359ee2d4d28f7fdce0f7d2d643d42b2f104cc6d8270b8b411602931bac4608a7
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
Sequel.migration do up do run("update pact_contents set consumer_id = (select consumer_id from all_pacts where pact_version_content_sha = pact_contents.sha limit 1)") run("update pact_contents set provider_id = (select provider_id from all_pacts where pact_version_content_sha = pact_contents.sha limit 1)") run("delete from pact_contents where consumer_id is null") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-2.0.0.beta.1 | db/migrations/25_populate_pact_contents_pacticipants.rb |