mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
12 lines
354 B
MySQL
12 lines
354 B
MySQL
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
||
|
ADD viewPolicy varbinary(64) NOT NULL;
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
||
|
ADD editPolicy varbinary(64) NOT NULL;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_calendar.calendar_event
|
||
|
SET viewPolicy = 'users' WHERE viewPolicy = '';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_calendar.calendar_event
|
||
|
SET editPolicy = userPHID;
|