models
Browse files- App/app.py +1 -1
App/app.py
CHANGED
@@ -21,7 +21,7 @@ async def startup_event():
|
|
21 |
try:
|
22 |
# print(type(database.url), database_url)
|
23 |
await models.create_all()
|
24 |
-
|
25 |
except:
|
26 |
print("failed to create")
|
27 |
finally:
|
|
|
21 |
try:
|
22 |
# print(type(database.url), database_url)
|
23 |
await models.create_all()
|
24 |
+
await models._create_all(str(database.url))
|
25 |
except:
|
26 |
print("failed to create")
|
27 |
finally:
|