mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
56df2bc7be
Summary: Add a very basic edit history table to herald rules. This table is updated whenever saving a herald rule. The contents of the save are not examined, and the edit history contains no information about the rule itself *yet*. Edit history can be viewed by anyone through /herald/history/<rule id>/. Task ID: # Blame Rev: Test Plan: Made a test rule, saved some stuff. Revert Plan: Tags: Reviewers: epriestley, jungejason Reviewed By: epriestley CC: zizzy, aran, xela, epriestley Differential Revision: https://secure.phabricator.com/D1387
8 lines
329 B
SQL
8 lines
329 B
SQL
CREATE TABLE phabricator_herald.herald_ruleedit (
|
|
id int unsigned not null auto_increment primary key,
|
|
ruleID int unsigned not null,
|
|
editorPHID varchar(64) BINARY not null,
|
|
dateCreated int unsigned not null,
|
|
dateModified int unsigned not null,
|
|
KEY (ruleID, dateCreated)
|
|
) ENGINE=InnoDB;
|