Skip to content

Commit 587329d

Browse files
docs: add more details for migration changes
1 parent 2b079e9 commit 587329d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ we use a Postgres docker container to generate migrations against.
8080
At runtime the task receives database connection details through environment variables
8181
(`DB_HOST`, `DB_PORT`, `DB_NAME`, `DB_USER`, `DB_PASSWORD`) sourced from AWS Secrets Manager.
8282

83-
After making any changes to the database models, run the
84-
`generate_migrations.py` script to create migrations:
83+
After making any changes to the database models, after ensuring that Docker is runnning on your local machine,
84+
run the `generate_migrations.py` script to create migrations:
8585

8686
```shell
87-
python generate_migrations.py -m migration_name
87+
python generate_migrations.py -m <migration_name_of_your_choice>
8888
```
8989

9090
and commit them to git. Once your updated code has been

0 commit comments

Comments
 (0)