From 528123b537c640ba7b8d998f45b3a155dea291a3 Mon Sep 17 00:00:00 2001 From: Heds Simons Date: Mon, 17 Sep 2018 14:51:35 +0100 Subject: [PATCH] postgres: `resin` db created by `docker` user Due to recent changes in the Postgres codebase, and rebuilds of tagged Docker images, the default `postgres` user will no longer exist. See: https://github.com/docker-library/postgres/commit/0aff40cb72f4f5968a1bb4cb04e2fc6f1ce8857e Database is now created by the generated `docker` user. Connects-to: 13 Change-type: patch Signed-off-by: Heds Simons --- create-resin-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-resin-db.sh b/create-resin-db.sh index 02cbbdc..ceab7d7 100755 --- a/create-resin-db.sh +++ b/create-resin-db.sh @@ -1,5 +1,5 @@ #!/bin/bash -psql --username postgres <<-EOSQL +psql --username docker <<-EOSQL CREATE DATABASE resin; EOSQL