-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
In the article you're creating the table manually.
It might be more convenient to do it automatically when the code is run.
In the main.py maybe replace this ?
register_tortoise(
app,
config=DB_CONFIG,
generate_schemas=False,
)
with
register_tortoise(
app,
config=DB_CONFIG,
generate_schemas=True,
)
Not sure why
generate_schemas=False ?
Metadata
Metadata
Assignees
Labels
No labels