mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
225a38c7d3
Summary: Ref T603. Adds storage for custom policies. Test Plan: Ran storage upgrade. Created and edited tasks. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T603 Differential Revision: https://secure.phabricator.com/D7118
11 lines
405 B
SQL
11 lines
405 B
SQL
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
|
ADD viewPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
|
|
|
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
|
ADD editPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
|
|
|
UPDATE {$NAMESPACE}_maniphest.maniphest_task
|
|
SET viewPolicy = 'users' WHERE viewPolicy = '';
|
|
|
|
UPDATE {$NAMESPACE}_maniphest.maniphest_task
|
|
SET editPolicy = 'users' WHERE editPolicy = '';
|