mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
85de4419a5
Summary: Ref T7582. Also adds the basic logic for "rooms" implementation. Also makes sure we use the initializeNewThread method as appropriate. Test Plan: made a new conpherence and it worked! Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7582 Differential Revision: https://secure.phabricator.com/D12103
17 lines
662 B
SQL
17 lines
662 B
SQL
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 = '';
|