aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-19 18:10:36 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-19 18:10:36 -0800
commitb434f7e4e00263aa57d6ee349986ba59c539a997 (patch)
tree9af01b9339a19315eb09da197226a4eca9eae5c5
parentd5add83e85da0c61fe107842e7dd82b52af2bcdb (diff)
downloadseaweedfs-b434f7e4e00263aa57d6ee349986ba59c539a997.tar.xz
seaweedfs-b434f7e4e00263aa57d6ee349986ba59c539a997.zip
filer store: postgres adjust default config, add optioanl schema
-rw-r--r--weed/command/scaffold.go6
1 files 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