백오피스 추가 및 이미지태그 예외처리
This commit is contained in:
1 parent
1e3da98c6a
commit
37bf9f54ee
34 files changed
+1530
-73
No files matched your search
@@ -81,8 +81,10 @@ async def create_db_tables():
|
||||
from app.sns.models import SNSUploadTask # noqa: F401
|
||||
from app.social.models import SocialUpload # noqa: F401
|
||||
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
|
||||
|
||||
# 생성할 테이블 목록
|
||||
# 생성할 테이블 목록 (FK 순서: 참조 대상 먼저)
|
||||
tables_to_create = [
|
||||
User.__table__,
|
||||
RefreshToken.__table__,
|
||||
@@ -98,6 +100,9 @@ async def create_db_tables():
|
||||
MarketingIntel.__table__,
|
||||
Dashboard.__table__,
|
||||
ImageTag.__table__,
|
||||
Admin.__table__,
|
||||
CreditChargeRequest.__table__,
|
||||
CreditTransaction.__table__,
|
||||
]
|
||||
|
||||
logger.info("Creating database tables...")
|
||||
|
||||
Reference in new issue
Block a user