1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 18:10:53 +01:00
phorge-phorge/resources/sql/autopatches/20141103.almanac.2.addprop.sql

9 lines
387 B
MySQL
Raw Normal View History

2014-11-06 00:27:16 +01:00
CREATE TABLE {$NAMESPACE}_almanac.almanac_property (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
objectPHID VARBINARY(64) NOT NULL,
fieldIndex BINARY(12) NOT NULL,
fieldName VARCHAR(128) NOT NULL COLLATE {$COLLATE_TEXT},
fieldValue LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
UNIQUE KEY `objectPHID` (objectPHID, fieldIndex)
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};