mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
8 lines
313 B
MySQL
8 lines
313 B
MySQL
|
CREATE TABLE {$NAMESPACE}_almanac.almanac_namespacename_ngrams (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectID INT UNSIGNED NOT NULL,
|
||
|
ngram CHAR(3) NOT NULL COLLATE {$COLLATE_TEXT},
|
||
|
KEY `key_object` (objectID),
|
||
|
KEY `key_ngram` (ngram, objectID)
|
||
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|