1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/resources/sql/patches/20130925.mpolicy.sql

12 lines
405 B
MySQL
Raw Normal View History

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 = '';