mirror of
https://github.com/friendica/friendica-directory
synced 2024-11-14 16:17:35 +01:00
[Database v0004] Add fulltext index to profile for interest match
This commit is contained in:
parent
fc447f07c4
commit
dc67cff8ef
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