feat(ssulbox): 썰박스 생성 파이프라인 통합 및 콘텐츠 목록 UNION

This commit is contained in:
skkim committed 2026-08-11 11:03:03 +09:00
1 parent 8096837b13
commit 666c3bf6d1
77 files changed
+15912 -349

No files matched your search

+7
View File
@@ -86,6 +86,10 @@ async def create_db_tables():
from app.dashboard.models import Dashboard # noqa: F401
from app.backoffice.admin.models import Admin # noqa: F401
from app.credit.models import CreditChargeRequest, CreditTransaction # noqa: F401
from app.ssulbox.models import ( # noqa: F401
SsulContent,
SsulSocialUpload,
)
# 생성할 테이블 목록 (FK 순서: 참조 대상 먼저)
tables_to_create = [
@@ -106,6 +110,9 @@ async def create_db_tables():
Admin.__table__,
CreditChargeRequest.__table__,
CreditTransaction.__table__,
# 썰박스 (FK 순서: ssul_content 를 나머지가 참조)
SsulContent.__table__,
SsulSocialUpload.__table__,
]
logger.info("Creating database tables...")