mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 18:10:53 +01:00
11 lines
450 B
MySQL
11 lines
450 B
MySQL
|
CREATE TABLE {$NAMESPACE}_draft.draft_versioneddraft (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectPHID VARBINARY(64) NOT NULL,
|
||
|
authorPHID VARBINARY(64) NOT NULL,
|
||
|
version INT UNSIGNED NOT NULL,
|
||
|
properties LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
|
||
|
dateCreated INT UNSIGNED NOT NULL,
|
||
|
dateModified INT UNSIGNED NOT NULL,
|
||
|
UNIQUE KEY `key_object` (objectPHID, authorPHID, version)
|
||
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|