launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29057
[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 66c4831c8a3c7d1a5768fcdfd41634e76e7de853 (add `vulnerability.date_notice_issued` and `.date_coordinated_release` columns)
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~andrey-fedoseev/launchpad/+git/launchpad/+merge/428847
--
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-04-0.sql b/database/schema/patch-2211-04-0.sql
new file mode 100644
index 0000000..2435222
--- /dev/null
+++ b/database/schema/patch-2211-04-0.sql
@@ -0,0 +1,20 @@
+-- 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 Vulnerability
+ ADD COLUMN date_notice_issued timestamp without time zone
+;
+
+ALTER TABLE Vulnerability
+ ADD COLUMN date_coordinated_release timestamp without time zone
+;
+
+COMMENT ON COLUMN Vulnerability.date_notice_issued
+ IS 'Date when a security notice was issued for this vulnerability';
+
+COMMENT ON COLUMN Vulnerability.date_coordinated_release
+ IS 'Coordinated Release Date';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 04, 0);