uuid7으로 필드 및 처리관련 수정

This commit is contained in:
Dohyun Lim committed 2026-01-28 16:35:08 +09:00
1 parent aa8d9d7c14
commit 32ae5530b6
26 files changed
+2346 -901

No files matched your search

+3 -3
View File
@@ -23,7 +23,7 @@ class Song(Base):
id: 고유 식별자 (자동 증가)
project_id: 연결된 Project의 id (외래키)
lyric_id: 연결된 Lyric의 id (외래키)
task_id: 노래 생성 작업의 고유 식별자 (KSUID 형식)
task_id: 노래 생성 작업의 고유 식별자 (UUID7 형식)
suno_task_id: Suno API 작업 고유 식별자 (선택)
status: 처리 상태 (processing, uploading, completed, failed)
song_prompt: 노래 생성에 사용된 프롬프트
@@ -72,10 +72,10 @@ class Song(Base):
)
task_id: Mapped[str] = mapped_column(
String(27),
String(36),
nullable=False,
unique=True,
comment="노래 생성 작업 고유 식별자 (KSUID)",
comment="노래 생성 작업 고유 식별자 (UUID7)",
)
suno_task_id: Mapped[Optional[str]] = mapped_column(