This commit is contained in:
Lizandro Guarnizo
2026-03-11 16:09:17 -05:00
parent 92de3356b6
commit def39bc53d
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ type DatabaseDriver struct {
type DatabaseConfig struct {
*gorm.DB
Drivers map[string]DatabaseDriver `yaml:"drivers"`
Default DatabaseDriver `yaml:"default" env:"DEFAULT_DB_DRIVER"`
Default DatabaseDriver `yaml:"default"`
}
func (d *DatabaseConfig) Setup() error {