From 8c462ab981ee428d7c5c1e1ae2e03e559248be84 Mon Sep 17 00:00:00 2001 From: shihan00321 Date: Wed, 15 Oct 2025 10:40:36 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]:=20=EC=97=94=ED=8B=B0=ED=8B=B0=20?= =?UTF-8?q?=EC=83=81=20searchVector=20=ED=95=84=EB=93=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0,=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EB=B2=A0=EC=9D=B4?= =?UTF-8?q?=EC=8A=A4=20=EC=BB=AC=EB=9F=BC=20=EC=83=81=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=EB=8A=94=20=EC=A1=B4=EC=9E=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/back/domain/post/entity/Post.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/back/src/main/java/com/back/domain/post/entity/Post.java b/back/src/main/java/com/back/domain/post/entity/Post.java index 53f29e9..f2168ac 100644 --- a/back/src/main/java/com/back/domain/post/entity/Post.java +++ b/back/src/main/java/com/back/domain/post/entity/Post.java @@ -76,19 +76,6 @@ public class Post extends BaseEntity { @JoinColumn(name = "scenario_id") private Scenario scenario; - /** - * 마이그레이션 alter문으로 postgreSQL tsvector 타입 컬럼 지정 - * - 트리거에 의해 자동으로 업데이트됨 - * - 직접 값을 설정할 필요 없음 - * - GIN 인덱스로 빠른 검색 지원 - */ - @Column( - name = "search_vector", - insertable = false, - updatable = false - ) - private String searchVector; - public void updatePost(String title, String content, PostCategory category) { this.title = title; this.content = content;