alt
Browse files- App/app.py +2 -2
App/app.py
CHANGED
@@ -50,8 +50,8 @@ def authjwt_exception_handler(request: Request, exc: AuthJWTException):
|
|
50 |
async def startup_event():
|
51 |
await bot.start()
|
52 |
# await upload_bot.start()
|
53 |
-
await models.create_all()
|
54 |
-
|
55 |
|
56 |
if not database.is_connected:
|
57 |
await database.connect()
|
|
|
50 |
async def startup_event():
|
51 |
await bot.start()
|
52 |
# await upload_bot.start()
|
53 |
+
# await models.create_all()
|
54 |
+
models.metadata.create_all()
|
55 |
|
56 |
if not database.is_connected:
|
57 |
await database.connect()
|