launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #28946
[Merge] ~ilasc/launchpad:db-add-jsonb-to-revision-status-artifact into launchpad:db-devel
Ioana Lasc has proposed merging ~ilasc/launchpad:db-add-jsonb-to-revision-status-artifact into launchpad:db-devel.
Commit message:
Add jsonb column to RevisiontStatusArtifact
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/427805
This will be used to store SOSS-related metadata.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/launchpad:db-add-jsonb-to-revision-status-artifact into launchpad:db-devel.
diff --git a/database/schema/patch-2211-03-0.sql b/database/schema/patch-2211-03-0.sql
new file mode 100644
index 0000000..b46622a
--- /dev/null
+++ b/database/schema/patch-2211-03-0.sql
@@ -0,0 +1,9 @@
+-- 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 RevisionStatusArtifact
+ ADD COLUMN soss_properties jsonb;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2211, 03, 0);