mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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;
|