diff --git a/app/ssulbox/models.py b/app/ssulbox/models.py index 9927271..1c95b44 100644 --- a/app/ssulbox/models.py +++ b/app/ssulbox/models.py @@ -163,10 +163,10 @@ class SsulContent(Base): comment="완성 영상 URL (Azure Blob 공개 URL 또는 로컬 서빙 경로)", ) - thumbnail_url: Mapped[Optional[str]] = mapped_column( + poster_url: Mapped[Optional[str]] = mapped_column( String(500), nullable=True, - comment="썸네일 URL (없으면 프론트가 시나리오 표지로 대체)", + comment="포스터 URL (없으면 프론트가 시나리오 표지로 대체)", ) # ========================================================================== diff --git a/docs/database-schema/migration_2026-07-30_ssulbox.sql b/docs/database-schema/migration_2026-07-30_ssulbox.sql index 9ccc209..9feb34d 100644 --- a/docs/database-schema/migration_2026-07-30_ssulbox.sql +++ b/docs/database-schema/migration_2026-07-30_ssulbox.sql @@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS `ssul_content` ( `step` int NOT NULL DEFAULT '0' COMMENT '진행 단계 0~4 (폴링 응답용. 0=준비, 4=영상 합성 완료)', `error` text COLLATE utf8mb4_unicode_ci COMMENT '실패 사유', `video_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '완성 영상 URL (Azure Blob 공개 URL 또는 로컬 서빙 경로)', - `thumbnail_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '썸네일 URL (없으면 프론트가 시나리오 표지로 대체)', + `poster_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '포스터 URL (없으면 프론트가 시나리오 표지로 대체)', `store_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '대상 업장명 (통합 목록에서 castad video.store_name 자리에 대응)', `region` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '지역 (통합 목록의 지역 필터에 사용)', `detail_region_info` text COLLATE utf8mb4_unicode_ci COMMENT '상세 지역 정보 (도로명 우선, 없으면 지번). 지역 필터 별칭 매칭용',