diff --git a/README.md b/README.md index 89d3dc2..3d0522b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ Compact template for FastAPI-based projects. SQLAlchemy ORM and Alembic migratio To add new models to migrations you need to import them inside `migrations/env.py`. Just add `from .models import *` at the head of file and it should be enough +And then create migration: + + pipenv run alembic revision --autogenerate -m "" + To quickly migrate: docker-compose exec web bash