uuid7으로 필드 및 처리관련 수정
This commit is contained in:
1 parent
aa8d9d7c14
commit
32ae5530b6
26 files changed
+2346
-901
No files matched your search
+3
-3
@@ -23,7 +23,7 @@ class Lyric(Base):
|
||||
Attributes:
|
||||
id: 고유 식별자 (자동 증가)
|
||||
project_id: 연결된 Project의 id (외래키)
|
||||
task_id: 가사 생성 작업의 고유 식별자 (KSUID 형식)
|
||||
task_id: 가사 생성 작업의 고유 식별자 (UUID7 형식)
|
||||
status: 처리 상태 (pending, processing, completed, failed 등)
|
||||
lyric_prompt: 가사 생성에 사용된 프롬프트
|
||||
lyric_result: 생성된 가사 결과 (LONGTEXT로 긴 가사 지원)
|
||||
@@ -62,10 +62,10 @@ class Lyric(Base):
|
||||
)
|
||||
|
||||
task_id: Mapped[str] = mapped_column(
|
||||
String(27),
|
||||
String(36),
|
||||
nullable=False,
|
||||
unique=True,
|
||||
comment="가사 생성 작업 고유 식별자 (KSUID)",
|
||||
comment="가사 생성 작업 고유 식별자 (UUID7)",
|
||||
)
|
||||
|
||||
status: Mapped[str] = mapped_column(
|
||||
|
||||
Reference in new issue
Block a user