← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/launchpad:merge-db-stable into launchpad:master

 

Guruprasad has proposed merging ~lgp171188/launchpad:merge-db-stable into launchpad:master.

Commit message:
Merge db-stable 042180a4be (Add status_explanation, importance_explanation to BugTask)

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/418800
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:merge-db-stable into launchpad:master.
diff --git a/database/schema/patch-2210-45-0.sql b/database/schema/patch-2210-45-0.sql
new file mode 100644
index 0000000..e29b54c
--- /dev/null
+++ b/database/schema/patch-2210-45-0.sql
@@ -0,0 +1,14 @@
+-- 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 BugTask
+    ADD COLUMN status_explanation text,
+    ADD COLUMN importance_explanation text;
+
+COMMENT ON COLUMN BugTask.status_explanation IS 'An optional explanation for the current status of this bugtask.';
+
+COMMENT ON COLUMN BugTask.importance_explanation IS 'An optional explanation for the current importance of this bugtask.';
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 45, 0);