diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index be47325a..1787d156 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -130,7 +130,9 @@ Then quit `psql` by typing `\q` and hitting return. Now run all 'up' migrations to create tables, data types, indexes etc. The `.sql` scripts to 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 -d < $migration; done;` +`ls ./colouring-london/migrations/*.up.sql 2>/dev/null | while read -r migration; do psql -d -U -h localhost < $migration; done;` + +(you will be prompted to enter the ``) ## Setting up Node