Add missing column in profile fulltext index #62

Merged
MrPetovan merged 2 commits from task/39-search-match-username into stable 2020-09-27 14:46:57 +02:00
4 changed files with 6 additions and 2 deletions
Showing only changes of commit 3939800068 - Show all commits

View file

@ -0,0 +1,2 @@
BEGIN;
COMMIT;

View file

@ -0,0 +1,2 @@
BEGIN;
COMMIT;

View file

@ -1,4 +1,4 @@
BEGIN; BEGIN;
ALTER TABLE `profile` DROP KEY `profile-ft`; ALTER TABLE `profile` DROP KEY `profile-ft`;
ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `profile_url`, `locality`, `region`, `country`); ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `profile_url`, `locality`, `region`, `country`, `tags`);
COMMIT; COMMIT;

View file

@ -1,4 +1,4 @@
BEGIN; BEGIN;
ALTER TABLE `profile` DROP KEY `profile-ft`; ALTER TABLE `profile` DROP KEY `profile-ft`;
ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `username`, `locality`, `region`, `country`); ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `username`, `locality`, `region`, `country`, `tags`);
COMMIT; COMMIT;