Renamed backend to driver

This commit is contained in:
perp 2024-06-02 12:58:48 +01:00
parent 94fc0a2521
commit 11bfad2844
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
[database]
backend = "sqlite3"
driver = "sqlite3"
url = "gopay.db"
ssl = false
max = 30

View File

@ -8,11 +8,11 @@ type Config struct {
// Database configuration
type Database struct {
Backend string `toml:"backend"`
URL string `toml:"url"`
SSL bool `toml:"ssl"`
Max int `toml:"max"`
Idle int `toml:"idle"`
Driver string `toml:"driver"`
URL string `toml:"url"`
SSL bool `toml:"ssl"`
Max int `toml:"max"`
Idle int `toml:"idle"`
}
// Log configuration