✏️ Fix file path in backend/README.md when not wanting to use migrations #1116

This commit is contained in:
Leon Lowitzki
2024-03-22 15:21:32 +01:00
committed by GitHub
parent f442b8df52
commit ac25e154ad

View File

@@ -183,7 +183,7 @@ $ alembic revision --autogenerate -m "Add column last_name to User model"
$ alembic upgrade head $ alembic upgrade head
``` ```
If you don't want to use migrations at all, uncomment the lines in the file at `./backend/app/db/init_db.py` that end in: If you don't want to use migrations at all, uncomment the lines in the file at `./backend/app/core/db.py` that end in:
```python ```python
SQLModel.metadata.create_all(engine) SQLModel.metadata.create_all(engine)