Skip to content

Production ready fastapi graphql template with strawberry

Notifications You must be signed in to change notification settings

code4mk/fastapi-graphql-strawberry-template

Repository files navigation

Database migration process with Alembic

Alembic is a database migration tool for SQLAlchemy.

revision (migration)

you can use the following command to create a new migration file.

alembic revision --autogenerate -m "initial project"

this will create a new migration file in the alembic/versions directory.

upgrade (migrate)

you can use the following command to migrate the database.

alembic upgrade head

About

Production ready fastapi graphql template with strawberry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published