up
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user