fastapi-Migrate is an extension that handles SQLAlchemy database migrations for fastapi applications using Alembic.
Since fastapi does not provide a command line similar to flask, you need to integrate the command line yourself. How to use
Usage: Similar to flask_migrate
python your_command db --help
python your_command db init
python your_command db migrate
python your_command db upgrade
pip install fastapi_migrate