mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
4350858628
Summary: Fixes T6152, T6237. This introduces a viewPolicy column to the DifferentialDiff, and re-jiggers the DifferentialDiff policy implementation such that things behave as before once associated with a revision, else use the DifferentialDiff policy column value. Test Plan: made a diff with a non-standard view policy and noted that policy was still selected in the revision step. arc lint. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6237, T6152 Differential Revision: https://secure.phabricator.com/D10875
5 lines
199 B
SQL
5 lines
199 B
SQL
ALTER TABLE {$NAMESPACE}_differential.differential_diff
|
|
ADD viewPolicy VARBINARY(64) NOT NULL;
|
|
|
|
UPDATE {$NAMESPACE}_differential.differential_diff
|
|
SET viewPolicy = 'users' WHERE viewPolicy = '';
|