Update setup-dev-environment.md

This commit is contained in:
Mike Simpson 2022-11-09 10:42:24 +00:00 committed by GitHub
parent 17e15fd026
commit d5c9fbea47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,6 +281,11 @@ do this are located in the `migrations` folder of your local repository.
ls ~/colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql < $migration; done;
```
Again, if you get errors, you may need to manually specify the database name
```bash
ls ~/colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql -d <colouringlondondb> < $migration; done;
```
</details>
<details>