fix(search): add FULLTEXT indices to actually be able to search these
This commit is contained in:
parent
cd5b6f2942
commit
c877c8ce31
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ CREATE TABLE posts (
|
||||||
INDEX(host, post_created_at),
|
INDEX(host, post_created_at),
|
||||||
INDEX(host, post_updated_at),
|
INDEX(host, post_updated_at),
|
||||||
|
|
||||||
FULLTEXT(post_tags)
|
FULLTEXT(post_path),
|
||||||
|
FULLTEXT(post_tags),
|
||||||
|
FULLTEXT(post_title),
|
||||||
|
FULLTEXT(post_brief)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE post_markdown (
|
CREATE TABLE post_markdown (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue