From cb08e9b2ad8acb582eda16e6523891b50f2c61b8 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 17 Feb 2022 11:03:07 +0000 Subject: [PATCH] use superuser --- docs/setup-dev-environment.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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