tag fulltext index added to store

This commit is contained in:
Moriz Wahl 2020-03-19 15:44:30 +01:00
parent 4e3705f607
commit 7d29400ef9

View File

@ -12,6 +12,7 @@ class Store {
[
'CALL db.index.fulltext.createNodeIndex("post_fulltext_search",["Post"],["title", "content"])',
'CALL db.index.fulltext.createNodeIndex("user_fulltext_search",["User"],["name", "slug"])',
'CALL db.index.fulltext.createNodeIndex("tag_fulltext_search",["Tag"],["id"])',
].map(statement => txc.run(statement)),
)
})