refactor(ssulbox): 자동 마이그레이션 제거, DDL 을 수동 문서로 이관
This commit is contained in:
1 parent
666c3bf6d1
commit
ed1ba71bfe
7 files changed
+193
-641
No files matched your search
@@ -88,7 +88,6 @@ async def create_db_tables():
|
||||
from app.credit.models import CreditChargeRequest, CreditTransaction # noqa: F401
|
||||
from app.ssulbox.models import ( # noqa: F401
|
||||
SsulContent,
|
||||
SsulSocialUpload,
|
||||
)
|
||||
|
||||
# 생성할 테이블 목록 (FK 순서: 참조 대상 먼저)
|
||||
@@ -112,7 +111,6 @@ async def create_db_tables():
|
||||
CreditTransaction.__table__,
|
||||
# 썰박스 (FK 순서: ssul_content 를 나머지가 참조)
|
||||
SsulContent.__table__,
|
||||
SsulSocialUpload.__table__,
|
||||
]
|
||||
|
||||
logger.info("Creating database tables...")
|
||||
|
||||
Reference in new issue
Block a user