mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
11 lines
425 B
MySQL
11 lines
425 B
MySQL
|
CREATE TABLE {$NAMESPACE}_badges.badges_award (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
badgePHID VARBINARY(64) NOT NULL,
|
||
|
recipientPHID VARBINARY(64) NOT NULL,
|
||
|
awarderPHID varbinary(64) NOT NULL,
|
||
|
dateCreated INT UNSIGNED NOT NULL,
|
||
|
dateModified INT UNSIGNED NOT NULL,
|
||
|
UNIQUE KEY `key_badge` (badgePHID, recipientPHID),
|
||
|
KEY `key_recipient` (recipientPHID)
|
||
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|