From edd83acaab9d62ad7098edde6f0c2d5e76ad00b9 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Mon, 11 Nov 2024 21:46:05 +0800 Subject: [PATCH] fix cw text pgroonga --- packages/backend/src/models/Note.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/models/Note.ts b/packages/backend/src/models/Note.ts index 88dfc2960..3b764c227 100644 --- a/packages/backend/src/models/Note.ts +++ b/packages/backend/src/models/Note.ts @@ -75,9 +75,9 @@ export class MiNote { }) public name: string | null; - @Index() // USING pgroonga pgroonga_varchar_full_text_search_ops_v2 - @Column('varchar', { - length: 512, nullable: true, + @Index() // USING pgroonga + @Column('text', { + nullable: true, }) public cw: string | null;