mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 18:10:53 +01:00
10fb011a49
Summary: Fixes T8949. Adds the ability to render honors on those who have fought and received badges of distinction and honor. Test Plan: Write 'asdf'. See 'asdf'. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8949 Differential Revision: https://secure.phabricator.com/D13704
18 lines
673 B
SQL
18 lines
673 B
SQL
CREATE TABLE {$NAMESPACE}_badges.badges_transaction_comment (
|
|
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
|
phid VARCHAR(64) NOT NULL,
|
|
transactionPHID VARCHAR(64),
|
|
authorPHID VARCHAR(64) NOT NULL,
|
|
viewPolicy VARCHAR(64) NOT NULL,
|
|
editPolicy VARCHAR(64) NOT NULL,
|
|
commentVersion INT UNSIGNED NOT NULL,
|
|
content LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
|
|
contentSource LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
|
|
isDeleted BOOL NOT NULL,
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL,
|
|
|
|
UNIQUE KEY `key_phid` (phid),
|
|
UNIQUE KEY `key_version` (transactionPHID, commentVersion)
|
|
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|