launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #28237
[Merge] ~ilasc/launchpad:add-date-created-revisionstatusartifact into launchpad:db-devel
Ioana Lasc has proposed merging ~ilasc/launchpad:add-date-created-revisionstatusartifact into launchpad:db-devel.
Commit message:
Add date_created to RevisionStatusArtifact
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/417161
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/launchpad:add-date-created-revisionstatusartifact into launchpad:db-devel.
diff --git a/database/schema/patch-2210-45-0.sql b/database/schema/patch-2210-45-0.sql
new file mode 100644
index 0000000..a2effc3
--- /dev/null
+++ b/database/schema/patch-2210-45-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 date_created timestamp without time zone;
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2210, 45, 0);