mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +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;
|