← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/db-archive-dirty into lp:launchpad/db-devel

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/db-archive-dirty into lp:launchpad/db-devel.

Commit message:
Add Archive.dirty_suites column.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers): db

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-archive-dirty/+merge/310207
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/db-archive-dirty into lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-71-1.sql'
--- database/schema/patch-2209-71-1.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-71-1.sql	2016-11-07 17:00:35 +0000
@@ -0,0 +1,10 @@
+-- Copyright 2016 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+ALTER TABLE Archive ADD COLUMN dirty_suites text;
+
+COMMENT ON COLUMN Archive.dirty_suites IS 'A JSON-encoded list of suites in this archive that should be considered dirty on the next publisher run regardless of publications.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 71, 1);


Follow ups