1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00
phorge-phorge/resources/sql/autopatches/20170313.reviewers.01.sql

10 lines
433 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_differential.differential_reviewer (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
revisionPHID VARBINARY(64) NOT NULL,
reviewerPHID VARBINARY(64) NOT NULL,
reviewerStatus VARCHAR(64) NOT NULL COLLATE {$COLLATE_TEXT},
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL,
UNIQUE KEY `key_revision` (revisionPHID, reviewerPHID)
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};