feat: support customize dsn for mysql and pg (#6031)
* support for unixsocket to connect to mysql * feat: customize dsn for mysql and pg --------- Co-authored-by: Andy Hsu <i@nn.ci>
This commit is contained in:
@ -17,6 +17,7 @@ type Database struct {
|
||||
DBFile string `json:"db_file" env:"FILE"`
|
||||
TablePrefix string `json:"table_prefix" env:"TABLE_PREFIX"`
|
||||
SSLMode string `json:"ssl_mode" env:"SSL_MODE"`
|
||||
DSN string `json:"dsn" env:"DSN"`
|
||||
}
|
||||
|
||||
type Scheme struct {
|
||||
|
Reference in New Issue
Block a user