feat(ssulbox): SNS 제목·설명·태그를 ssul_content에 저장

영상과 같이 업로드·SEO 결과를 행에 남기고, 다음 요청부터는 DB 값을 쓴다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
skkimandCursor committed 2026-08-19 15:31:44 +09:00
1 parent fde48e8674
commit e47a97476d
9 files changed
+108 -36

No files matched your search

@@ -0,0 +1,19 @@
-- ============================================================
-- Migration: ssul_content 에 SNS 메타데이터 컬럼 추가
-- Date: 2026-08-19
-- Description: video 와 동일하게 제목/설명/해시태그를 저장한다.
-- poster_url 은 이미 있으므로 길이만 video 와 맞춘다.
-- 관련 코드: app/ssulbox/models.py, app/social/services/seo_service.py
-- ============================================================
ALTER TABLE `ssul_content`
MODIFY COLUMN `poster_url` VARCHAR(2048) NULL
COMMENT '포스터 URL (SNS 공유 og:image. 없으면 프론트가 시나리오 표지로 대체)';
ALTER TABLE `ssul_content`
ADD COLUMN `title` VARCHAR(100) NULL
COMMENT 'SNS 업로드 제목' AFTER `poster_url`,
ADD COLUMN `description` TEXT NULL
COMMENT 'SNS 업로드 설명' AFTER `title`,
ADD COLUMN `hashtags` JSON NULL
COMMENT 'SNS 해시태그 목록' AFTER `description`;