1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00
phorge-phorge/resources/sql/autopatches/20140218.differentialdraft.sql

10 lines
446 B
MySQL
Raw Normal View History

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;