Sha256: c3a4359f6f53f775d4703dabd3137d4dc81621bc7d21e83e714866c593e3a3c0
Contents?: true
Size: 514 Bytes
Versions: 176
Compression:
Stored size: 514 Bytes
Contents
Sequel.migration do up do run("insert into pact_versions (sha, content, created_at) select sha, content, created_at from pact_version_contents") run("update pact_versions set consumer_id = (select consumer_id from all_pacts where pact_version_content_sha = pact_versions.sha limit 1)") run("update pact_versions set provider_id = (select provider_id from all_pacts where pact_version_content_sha = pact_versions.sha limit 1)") run("delete from pact_versions where consumer_id is null") end end
Version data entries
176 entries across 176 versions & 1 rubygems