mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 22:40:55 +01:00
2e8990e9e0
reviewers as metadata Summary: The "Add reviewer" implementation is super lazy right now since I didn't want to do a schema change. Man up and add a column. I also plan to store "via" information here (e.g., via email or via mobile). NOTE: This schema change may take a while since the comment table is pretty big in Facebook's install. This needs a little CSS work but I think it's reasonable for now. Test Plan: Made comments on revisions and tasks. Added reviewers to a revision, got linked names instead of a blob of text. Reviewed By: aran Reviewers: tomo, jungejason, tuomaspelkonen, aran Commenters: tomo CC: aran, tomo, epriestley Differential Revision: 394
11 lines
375 B
SQL
11 lines
375 B
SQL
ALTER TABLE phabricator_differential.differential_comment
|
|
ADD metadata LONGBLOB NOT NULL;
|
|
|
|
UPDATE phabricator_differential.differential_comment
|
|
SET metadata = '{}' WHERE metadata = '';
|
|
|
|
ALTER TABLE phabricator_maniphest.maniphest_transaction
|
|
ADD metadata LONGBLOB NOT NULL;
|
|
|
|
UPDATE phabricator_maniphest.maniphest_transaction
|
|
SET metadata = '{}' WHERE metadata = '';
|