mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
f078fd98d7
Summary: Ref T10457. Allow build plans to be queried by name. Test Plan: - Searched for plans by name. - Renamed a plan, searched for new name. {F1133085} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10457 Differential Revision: https://secure.phabricator.com/D15359
7 lines
323 B
SQL
7 lines
323 B
SQL
CREATE TABLE {$NAMESPACE}_harbormaster.harbormaster_buildplanname_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};
|