From b434f7e4e00263aa57d6ee349986ba59c539a997 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 19 Jan 2021 18:10:36 -0800 Subject: [PATCH] filer store: postgres adjust default config, add optioanl schema --- weed/command/scaffold.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index c42dce7be..c640d9544 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -155,7 +155,8 @@ hostname = "localhost" port = 5432 username = "postgres" password = "" -database = "" # create or use an existing database +database = "postgres" # create or use an existing database +schema = "public" # create or use an existing schema sslmode = "disable" connection_max_idle = 100 connection_max_open = 100 @@ -175,7 +176,8 @@ hostname = "localhost" port = 5432 username = "postgres" password = "" -database = "" # create or use an existing database +database = "postgres" # create or use an existing database +schema = "public" # create or use an existing schema sslmode = "disable" connection_max_idle = 100 connection_max_open = 100