~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/patch-2208-73-0.sql

  • Committer: Julian Edwards
  • Date: 2011-06-06 11:49:08 UTC
  • mfrom: (7675.1045.467 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13205.
  • Revision ID: julian.edwards@canonical.com-20110606114908-30jm0009t79ewsad
merge db-devel, there are some test failures as a result

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Copyright 2011 Canonical Ltd.  This software is licensed under the
 
2
-- GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
SET client_min_messages=ERROR;
 
5
 
 
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;
 
9
 
 
10
ALTER TABLE PackageCopyJob ADD COLUMN copy_policy integer;
 
11
 
 
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);
 
15
 
 
16
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 73, 0);