1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 10:00:55 +01:00
phorge-phorge/resources/sql/patches/070.differentialaux.sql

11 lines
384 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_differential.differential_auxiliaryfield (
id INT UNSIGNED NOT NULL auto_increment PRIMARY KEY,
revisionPHID varchar(64) BINARY NOT NULL,
name VARCHAR(32) BINARY NOT NULL,
value LONGBLOB NOT NULL,
UNIQUE KEY (revisionPHID, name),
KEY (name, value(64)),
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL
) ENGINE = InnoDB;