refactor: p2v credits_used 컬럼을 higgsfield_credits로 변경
This commit is contained in:
1 parent
23a2ab4013
commit
71ed33d047
5 files changed
+36
-5
No files matched your search
+2
-1
@@ -56,7 +56,8 @@ class TaskBase(Base):
|
||||
error_stage: Mapped[str | None] = mapped_column(String(32))
|
||||
error_detail: Mapped[str | None] = mapped_column("error", Text)
|
||||
|
||||
credits_used: Mapped[float] = mapped_column(Float, default=0.0)
|
||||
# Higgsfield 등 외부 생성에 쓴 크레딧. 사용자 크레딧(credit_transaction)과 별개
|
||||
higgsfield_credits: Mapped[float] = mapped_column(Float, default=0.0)
|
||||
|
||||
# 좋아요·댓글이 붙는 콘텐츠라 행을 지우지 않고 숨긴다 (썰박스와 같은 소프트 삭제)
|
||||
is_deleted: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False,
|
||||
|
||||
Reference in new issue
Block a user