Merge ~cjwatson/launchpad:db-artifactory-publish-3 into launchpad:db-devel

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 9c4e1e43dd1bcbd5e3c18f2f2c113a0feea5c242
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:db-artifactory-publish-3
Merge into: launchpad:db-devel
Diff against target: 18 lines (+12/-0)
1 file modified
database/schema/patch-2210-44-2.sql (+12/-0)
Reviewer Review Type Date Requested Status
William Grant db Approve
Review via email: mp+418875@code.launchpad.net

Commit message

Artifactory publishing: drop old constraints

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/database/schema/patch-2210-44-2.sql b/database/schema/patch-2210-44-2.sql
2new file mode 100644
3index 0000000..fef03b4
4--- /dev/null
5+++ b/database/schema/patch-2210-44-2.sql
6@@ -0,0 +1,12 @@
7+-- Copyright 2022 Canonical Ltd. This software is licensed under the
8+-- GNU Affero General Public License version 3 (see the file LICENSE).
9+
10+SET client_min_messages=ERROR;
11+
12+-- STEP 3, COLD
13+
14+-- Replaced by binarypackagerelease__build__bpn__key.
15+ALTER TABLE BinaryPackageRelease
16+ DROP CONSTRAINT binarypackagerelease_build_name_uniq;
17+
18+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 44, 2);

Subscribers

People subscribed via source and target branches

to status/vote changes: