[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:
parent
96dec7c4df
commit
3939800068
4 changed files with 6 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
BEGIN;
|
||||
COMMIT;
|
|
@ -0,0 +1,2 @@
|
|||
BEGIN;
|
||||
COMMIT;
|
|
@ -1,4 +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`);
|
||||
ALTER TABLE `profile` ADD FULLTEXT KEY `profile-ft` (`name`, `pdesc`, `profile_url`, `locality`, `region`, `country`, `tags`);
|
||||
COMMIT;
|
|
@ -1,4 +1,4 @@
|
|||
BEGIN;
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue