Merge lp:~cjwatson/launchpad/db-mail-footer-pref into lp:launchpad/db-devel

Proposed by Colin Watson
Status: Merged
Merged at revision: 13145
Proposed branch: lp:~cjwatson/launchpad/db-mail-footer-pref
Merge into: lp:launchpad/db-devel
Diff against target: 14 lines (+10/-0)
1 file modified
database/schema/patch-2209-68-0.sql (+10/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/db-mail-footer-pref
Reviewer Review Type Date Requested Status
William Grant db Approve
Review via email: mp+264622@code.launchpad.net

Commit message

Add PersonSettings.expanded_notification_footers.

Description of the change

Add PersonSettings.expanded_notification_footers.

This is the first step in improving Gmail filterability of Launchpad mails. A future DB branch will make the column DEFAULT false NOT NULL, once it's been backfilled.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (db)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'database/schema/patch-2209-68-0.sql'
2--- database/schema/patch-2209-68-0.sql 1970-01-01 00:00:00 +0000
3+++ database/schema/patch-2209-68-0.sql 2015-07-13 17:46:22 +0000
4@@ -0,0 +1,10 @@
5+-- Copyright 2015 Canonical Ltd. This software is licensed under the
6+-- GNU Affero General Public License version 3 (see the file LICENSE).
7+
8+SET client_min_messages=ERROR;
9+
10+ALTER TABLE PersonSettings ADD COLUMN expanded_notification_footers boolean;
11+
12+COMMENT ON COLUMN PersonSettings.expanded_notification_footers IS 'Include filtering information in e-mail footers.';
13+
14+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 68, 0);

Subscribers

People subscribed via source and target branches

to status/vote changes: