mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
d740374cca
Summary: Ref T3116. This creates a policy rule where you can require a signature on a given legalpad document. NOTE: signatures must be for the *latest* document version. Test Plan: made a task have a custom policy requiring a legalpad signature. verified non-signers were locked out. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T3116 Differential Revision: https://secure.phabricator.com/D7977
5 lines
225 B
SQL
5 lines
225 B
SQL
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_documentsignature
|
|
DROP KEY `key_document`;
|
|
|
|
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_documentsignature
|
|
ADD KEY `key_document` (`documentPHID`,`signerPHID`, `documentVersion`);
|