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] [database]
backend = "sqlite3" driver = "sqlite3"
url = "gopay.db" url = "gopay.db"
ssl = false ssl = false
max = 30 max = 30

View File

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