mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
f5fb3f05dc
Summary: Ref T4264. This gets most of the plumbing in for "object" rules, which will bind to a specific object, like a repository or project. It does not yet let you actually create these rules. Test Plan: Ran `storage upgrade`, created/edited rules, browsed Herald. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4264 Differential Revision: https://secure.phabricator.com/D7847
6 lines
189 B
SQL
6 lines
189 B
SQL
ALTER TABLE {$NAMESPACE}_herald.herald_rule
|
|
ADD triggerObjectPHID VARCHAR(64) COLLATE utf8_bin;
|
|
|
|
ALTER TABLE {$NAMESPACE}_herald.herald_rule
|
|
ADD KEY `key_trigger` (triggerObjectPHID);
|
|
|