mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 18:52:42 +01:00
12 lines
490 B
MySQL
12 lines
490 B
MySQL
|
ALTER TABLE {$NAMESPACE}_oauth_server.oauth_server_oauthserverclient
|
||
|
ADD viewPolicy VARBINARY(64) NOT NULL AFTER creatorPHID;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_oauth_server.oauth_server_oauthserverclient
|
||
|
SET viewPolicy = 'users' WHERE viewPolicy = '';
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_oauth_server.oauth_server_oauthserverclient
|
||
|
ADD editPolicy VARBINARY(64) NOT NULL AFTER viewPolicy;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_oauth_server.oauth_server_oauthserverclient
|
||
|
SET editPolicy = creatorPHID WHERE viewPolicy = '';
|