We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72fc0f1 commit 58f228dCopy full SHA for 58f228d
bin/setup_dev_db.sh
@@ -1,6 +1,7 @@
1
#!/bin/bash
2
3
-dropdb nhs-virtual-visit-dev
4
-createdb nhs-virtual-visit-dev
+#password is 'postgres'
+dropdb -U "postgres" -h "localhost" -p "5432" nhs-virtual-visit-dev
5
+createdb -U "postgres" -h "localhost" -p "5432" nhs-virtual-visit-dev
6
npm run dbmigrate up
-cat db/seeds.sql | psql nhs-virtual-visit-dev
7
+cat db/seeds.sql | psql -U "postgres" -h "localhost" -p "5432" -d "nhs-virtual-visit-dev"
0 commit comments