[Database v0008b] Add missing column in fulltext index

- Add minimal SQL query to downgrade SQL script to avoid empty query errors
This commit is contained in:
Hypolite Petovan 2020-09-27 08:39:18 -04:00
parent 96dec7c4df
commit 3939800068
4 changed files with 6 additions and 2 deletions

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;