1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/resources/sql/patches/threadtopic.sql
vrana 892a2d1b61 Make Thread-Topic human readable
Summary:
Some e-mail clients display this header and it needs to be constant.

This is somehow involved but I doubt that there is a simpler solution.

Test Plan:
Applied SQL patch.
Commented on revision, commented on commit, changed package.
Verified that the `Thread-Topic` has constant and human readable value.

Reviewers: epriestley

Reviewed By: epriestley

CC: ola, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2745
2012-06-14 11:36:34 -07:00

14 lines
541 B
SQL

ALTER TABLE {$NAMESPACE}_differential.differential_revision
ADD originalTitle varchar(255) NOT NULL AFTER title;
UPDATE {$NAMESPACE}_differential.differential_revision SET
originalTitle = title;
ALTER TABLE {$NAMESPACE}_owners.owners_package
ADD originalName varchar(255) NOT NULL AFTER name;
UPDATE {$NAMESPACE}_owners.owners_package SET
originalName = name;
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD originalTitle text NOT NULL AFTER title;
UPDATE {$NAMESPACE}_maniphest.maniphest_task SET
originalTitle = title;