Browse Source
✏️ Fix file path in backend/README.md when not wanting to use migrations #1116
pull/13907/head
Leon Lowitzki
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
backend/README.md
|
|
@ -183,7 +183,7 @@ $ alembic revision --autogenerate -m "Add column last_name to User model" |
|
|
|
$ 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 |
|
|
|
SQLModel.metadata.create_all(engine) |
|
|
|