mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 15:00:58 +01:00
1f423c3bd1
Summary: Closes T10690 Test Plan: Open Badges application, go to Advanced Search, search for a badge by its name and see result. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin Maniphest Tasks: T10690 Differential Revision: https://secure.phabricator.com/D15656
7 lines
307 B
SQL
7 lines
307 B
SQL
CREATE TABLE {$NAMESPACE}_badges.badges_badgename_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};
|