-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hi Team,
I have disabled create_tables_on_start
like app = create_application(router=router, settings=settings, create_tables_on_start=False)
.
Now on my local whenever I try to run poetry run alembic revision --autogenerate
, it always create an empty migration file. I don't want to use create_all()
to create the tables in my DB, instead I want to go via the alembic migrations way and generate all the required migrations beforehand. Is there a step am I missing?
I am coming from the Django world and trying to learning FastAPI using this boilerplate.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed