mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
10 lines
446 B
MySQL
10 lines
446 B
MySQL
|
CREATE TABLE {$NAMESPACE}_differential.differential_draft(
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
authorPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
draftKey VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
dateCreated INT UNSIGNED NOT NULL,
|
||
|
dateModified INT UNSIGNED NOT NULL,
|
||
|
UNIQUE KEY `key_unique` (objectPHID, authorPHID, draftKey)
|
||
|
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|