1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00
phorge-phorge/resources/sql/patches/103.heraldedithistory.sql
awyler 56df2bc7be Add basic edit history to herald rules
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
2012-01-30 11:52:44 -08:00

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;