launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29214
[Merge] ~andrey-fedoseev/launchpad:merge-db-stable into launchpad:master
Andrey Fedoseev has proposed merging ~andrey-fedoseev/launchpad:merge-db-stable into launchpad:master.
Commit message:
Merge db-stable 69e0f179a17c9cb5507f4b23172ef62eff321efe (Add `SnapBase.features` column, Add `Cve.discovered_by` column)
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~andrey-fedoseev/launchpad/+git/launchpad/+merge/430135
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~andrey-fedoseev/launchpad:merge-db-stable into launchpad:master.
diff --git a/database/schema/patch-2211-06-0.sql b/database/schema/patch-2211-06-0.sql
new file mode 100644
index 0000000..b58d4ea
--- /dev/null
+++ b/database/schema/patch-2211-06-0.sql
@@ -0,0 +1,13 @@
+-- Copyright 2022 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 SnapBase
+ ADD COLUMN features jsonb;
+;
+
+COMMENT ON COLUMN SnapBase.features
+ IS 'The features supported by this base.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 06, 0);
diff --git a/database/schema/patch-2211-07-0.sql b/database/schema/patch-2211-07-0.sql
new file mode 100644
index 0000000..1cbcad4
--- /dev/null
+++ b/database/schema/patch-2211-07-0.sql
@@ -0,0 +1,12 @@
+-- Copyright 2022 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 Cve
+ ADD COLUMN discovered_by text;
+
+COMMENT ON COLUMN Cve.discovered_by
+ IS 'The name of person(s) or organization that discovered the CVE';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 07, 0);
Follow ups