launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #25709
[Merge] ~cjwatson/launchpad:merge-db-stable into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:merge-db-stable into launchpad:master.
Commit message:
Merge db-stable d74fff3384 (Add default traversal columns to Distribution)
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/394243
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:merge-db-stable into launchpad:master.
diff --git a/database/schema/patch-2210-23-0.sql b/database/schema/patch-2210-23-0.sql
new file mode 100644
index 0000000..d1db911
--- /dev/null
+++ b/database/schema/patch-2210-23-0.sql
@@ -0,0 +1,11 @@
+-- Copyright 2020 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 Distribution
+ -- 0 == SERIES
+ ADD COLUMN default_traversal_policy integer DEFAULT 0 NOT NULL,
+ ADD COLUMN redirect_default_traversal boolean DEFAULT false NOT NULL;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 23, 0);