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
-- Thanks to our feature flags, this table should be empty. If not,
7
-- adding a NOT NULL column would be problematic!
8
ALTER TABLE PackageCopyJob ADD COLUMN package_name text NOT NULL;
10
ALTER TABLE PackageCopyJob ADD COLUMN copy_policy integer;
12
-- For getPendingJobsForTargetSeries, which happens on web-request time.
13
CREATE UNIQUE INDEX packagecopyjob__job_type__target_ds__id__key
14
ON PackageCopyJob(job_type, target_distroseries, id);
16
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 73, 0);