1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 01:50:55 +01:00
phorge-phorge/resources/sql/autopatches/20151221.search.1.version.sql

8 lines
360 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_search.search_indexversion (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
objectPHID VARBINARY(64) NOT NULL,
extensionKey VARCHAR(64) NOT NULL COLLATE {$COLLATE_TEXT},
version VARCHAR(128) NOT NULL COLLATE {$COLLATE_TEXT},
UNIQUE KEY `key_object` (objectPHID, extensionKey)
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};