mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
Set default postgres sql_mode to require (#986)
fixes #985. libpq does not support the current default (prefer). This sets the default sql_mode to match libpq's default which is require
This commit is contained in:
@@ -17,7 +17,7 @@ type Database struct {
|
|||||||
Host string `yaml:"host"`
|
Host string `yaml:"host"`
|
||||||
Port string `yaml:"port"`
|
Port string `yaml:"port"`
|
||||||
Database string `yaml:"database"`
|
Database string `yaml:"database"`
|
||||||
SslMode string `yaml:"ssl_mode" conf:"default:prefer"`
|
SslMode string `yaml:"ssl_mode" conf:"default:require"`
|
||||||
SslRootCert string `yaml:"ssl_rootcert"`
|
SslRootCert string `yaml:"ssl_rootcert"`
|
||||||
SslCert string `yaml:"ssl_cert"`
|
SslCert string `yaml:"ssl_cert"`
|
||||||
SslKey string `yaml:"ssl_key"`
|
SslKey string `yaml:"ssl_key"`
|
||||||
|
|||||||
Reference in New Issue
Block a user