1
-- Copyright 2011 Canonical Ltd. This software is licensed under the
2
-- GNU Affero General Public License version 3 (see the file LICENSE).
4
SET client_min_messages=ERROR;
6
-- In DistroSeriesDifference, the constraint UNIQUE (derived_series, source_package_name)
7
-- should be UNIQUE (derived_series, parent_series, source_package_name).
8
ALTER TABLE DistroSeriesDifference
9
DROP CONSTRAINT "distroseriesdifference__derived_series__source_package_name__key";
11
ALTER TABLE DistroSeriesDifference
12
ADD CONSTRAINT distroseriesdifference__derived_series__parent_series__source_package_name__key
13
UNIQUE (derived_series, parent_series, source_package_name);
15
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 67, 0);