[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
|
@ -0,0 +1,2 @@
|
||||||
|
BEGIN;
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,2 @@
|
||||||
|
BEGIN;
|
||||||
|
COMMIT;
|
|
@ -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;
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue