feat: p2v 연동

This commit is contained in:
skkim committed 2026-08-26 13:52:18 +09:00
1 parent b3385e7df2
commit 5de5c7507d
26 files changed
+2944 -9

No files matched your search

+4
View File
@@ -90,6 +90,7 @@ async def create_db_tables():
from app.ssulbox.models import ( # noqa: F401
SsulContent,
)
from app.p2v.models import P2vF1Job, P2vF2Job # noqa: F401
# 생성할 테이블 목록 (FK 순서: 참조 대상 먼저)
tables_to_create = [
@@ -114,6 +115,9 @@ async def create_db_tables():
CreditTransaction.__table__,
# 썰박스 (FK 순서: ssul_content 를 나머지가 참조)
SsulContent.__table__,
# P2V (FK 순서: p2v_video 를 p2v_poster 가 참조)
P2vF1Job.__table__,
P2vF2Job.__table__,
]
logger.info("Creating database tables...")