mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
50debecf52
Summary: Ref T6741. Ref T10246. This is largely modernization, but will partially support namespace locking in Almanac. Test Plan: Searched for Almanac networks by name substring. {F1121740} Reviewers: chad Reviewed By: chad Maniphest Tasks: T6741, T10246 Differential Revision: https://secure.phabricator.com/D15322
7 lines
311 B
SQL
7 lines
311 B
SQL
CREATE TABLE {$NAMESPACE}_almanac.almanac_networkname_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};
|