✏️ Fix file path in backend/README.md when not wanting to use migrations #1116
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user