parent
de28a30028
commit
e44b489eeb
@ -1,8 +0,0 @@
|
|||||||
-- AlterTable
|
|
||||||
ALTER TABLE "QuestionsQuestion" ADD COLUMN "contentSearch" TSVECTOR
|
|
||||||
GENERATED ALWAYS AS
|
|
||||||
to_tsvector('english', coalesce(content, ''))
|
|
||||||
STORED;
|
|
||||||
|
|
||||||
-- CreateIndex
|
|
||||||
CREATE INDEX "QuestionsQuestion_contentSearch_idx" ON "QuestionsQuestion" USING GIN("textSearch");
|
|
Loading…
Reference in new issue