[Database v0004] Add fulltext index to profile for interest match
This commit is contained in:
parent
fc447f07c4
commit
dc67cff8ef
2 changed files with 6 additions and 0 deletions
3
src/sql/migrations/down/0003.sql
Normal file
3
src/sql/migrations/down/0003.sql
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
BEGIN;
|
||||||
|
ALTER table `profile` DROP KEY `tags`;
|
||||||
|
COMMIT;
|
3
src/sql/migrations/up/0004.sql
Normal file
3
src/sql/migrations/up/0004.sql
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
BEGIN;
|
||||||
|
ALTER table `profile` ADD FULLTEXT KEY `tags` (`tags`);
|
||||||
|
COMMIT;
|
Loading…
Reference in a new issue