Skip to content

Commit f1b0f58

Browse files
committed
Fix docker compose migration error documentation
1 parent d9349fd commit f1b0f58

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,19 @@ Here's how you can set it up:
197197
docker compose up -d --build
198198
```
199199

200-
4. **Run Migrations**: Run the migrations with the following command:
200+
4. **Make Migrations and Run**: Create the migrations with the following command:
201201

202202
```bash
203+
docker-compose exec web python manage.py makemigrations appointment
204+
```
205+
206+
or
207+
```bash
208+
docker compose exec web python manage.py makemigrations appointment
209+
```
210+
211+
Then, apply the migrations with the following command:
212+
```bash
203213
docker-compose exec web python manage.py migrate
204214
```
205215

0 commit comments

Comments
 (0)