mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
18 lines
662 B
MySQL
18 lines
662 B
MySQL
|
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
ADD viewPolicy VARBINARY(64) NOT NULL AFTER recentParticipantPHIDs;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
SET viewPolicy = 'users' WHERE viewPolicy = '';
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
ADD editPolicy VARBINARY(64) NOT NULL AFTER viewPolicy;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
SET editPolicy = 'users' WHERE editPolicy = '';
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
ADD joinPolicy VARBINARY(64) NOT NULL AFTER editPolicy;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_conpherence.conpherence_thread
|
||
|
SET joinPolicy = 'users' WHERE joinPolicy = '';
|