database: toml ignore DB
continuous-integration/drone the build failed Details

This commit is contained in:
Geno 2021-09-03 14:27:28 +02:00
parent 3e90199d98
commit 9e1187a161
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
// Database struct to read from config // Database struct to read from config
type Database struct { type Database struct {
DB *gorm.DB DB *gorm.DB `toml:"-"`
Connection string `toml:"connection"` Connection string `toml:"connection"`
Debug bool `toml:"debug"` Debug bool `toml:"debug"`
Testdata bool `toml:"testdata"` Testdata bool `toml:"testdata"`