From d5c9fbea47d581622a92502c00fb9a0d1516706a Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Wed, 9 Nov 2022 10:42:24 +0000 Subject: [PATCH] Update setup-dev-environment.md --- docs/setup-dev-environment.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index 04ebdcb0..0838e520 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -280,7 +280,12 @@ do this are located in the `migrations` folder of your local repository. ```bash 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 < $migration; done; +```