Merge lp:~cjwatson/launchpad/db-archive-file-history into lp:launchpad/db-devel

Proposed by Colin Watson
Status: Rejected
Rejected by: Colin Watson
Proposed branch: lp:~cjwatson/launchpad/db-archive-file-history
Merge into: lp:launchpad/db-devel
Diff against target: 17 lines (+13/-0)
1 file modified
database/schema/patch-2209-74-1.sql (+13/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-archive-file-history
Reviewer Review Type Date Requested Status
Stuart Bishop db Pending
Launchpad code reviewers db Pending
Review via email: mp+343750@code.launchpad.net

Commit message

Add ArchiveFile.date_created and ArchiveFile.date_superseded.

Description of the change

See bug 1765933 for rationale.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

Unmerged revisions

13843. By Colin Watson

Add ArchiveFile.date_created and ArchiveFile.date_superseded.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'database/schema/patch-2209-74-1.sql'
--- database/schema/patch-2209-74-1.sql 1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-74-1.sql 2018-04-21 11:12:28 +0000
@@ -0,0 +1,13 @@
1-- Copyright 2018 Canonical Ltd. This software is licensed under the
2-- GNU Affero General Public License version 3 (see the file LICENSE).
3
4SET client_min_messages=ERROR;
5
6ALTER TABLE ArchiveFile
7 ADD COLUMN date_created timestamp without time zone,
8 ADD COLUMN date_superseded timestamp without time zone;
9
10COMMENT ON COLUMN ArchiveFile.date_created IS 'The date when this file was created.';
11COMMENT ON COLUMN ArchiveFile.date_superseded IS 'The date when this file was removed or superseded by a newer version.';
12
13INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 74, 1);

Subscribers

People subscribed via source and target branches

to status/vote changes: