Fix #842
parent
714959126b
commit
ee8e167844
|
@ -42,6 +42,6 @@ func NewDatabase(dataSourceName string) (Database, error) {
|
||||||
case "postgres":
|
case "postgres":
|
||||||
return postgres.NewDatabase(dataSourceName)
|
return postgres.NewDatabase(dataSourceName)
|
||||||
default:
|
default:
|
||||||
return errors.New("unknown schema")
|
return nil, errors.New("unknown schema")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue