fix(SQL): Added missing option to not use SQL

This commit is contained in:
netbenix 2021-11-30 07:21:52 +01:00
parent 65fa075543
commit 9cc2815754
3 changed files with 17 additions and 5 deletions

View file

@ -9,7 +9,8 @@ import (
type Config struct {
LocalBackupPath string `json:"localBackupPath"`
SQLConfig struct{
SqlType string `json:"sqlType"`
EnableSQL bool `json:"enableSQL"`
SqlType string `json:"sqlType"`
SqlAddress string `json:"sql-address"`
SqlPort uint16 `json:"sql-port"`
Database string `json:"database"`