Profile search now matches username, not full profile URL #60

Merged
MrPetovan merged 2 commits from task/39-search-match-username into stable 2020-09-27 00:47:15 +02:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit 4621ae2001 - Show all commits

View file

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

View file

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