Sha256: 3f3e16fd858590bec94f599b7d009ab5f7a45d889306b0a9ab2525764b71cec7
Contents?: true
Size: 792 Bytes
Versions: 153
Compression:
Stored size: 792 Bytes
Contents
Sequel.migration do change do # joining with latest_pact_publication_revision_numbers gets rid of the overwritten # pact revisions, and the max(verification_id) gets rid of the overwritten # verifications create_view(:latest_verification_id_for_consumer_version_and_provider_version, "select consumer_version_id, provider_version_id, max(verification_id) as latest_verification_id from matrix inner join latest_pact_publication_revision_numbers lr on matrix.consumer_id = lr.consumer_id and matrix.provider_id = lr.provider_id and matrix.consumer_version_order = lr.consumer_version_order and matrix.pact_revision_number = lr.latest_revision_number group by consumer_version_id, provider_version_id" ) end end
Version data entries
153 entries across 153 versions & 1 rubygems