mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-31 11:28:26 +08:00
✏️ Fix file path in backend/README.md when not wanting to use migrations #1116
This commit is contained in:
parent
f442b8df52
commit
ac25e154ad
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user