Neil Alexander 2020-01-09 17:09:17 +00:00
parent 714959126b
commit ee8e167844
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,6 @@ func NewDatabase(dataSourceName string) (Database, error) {
case "postgres":
return postgres.NewDatabase(dataSourceName)
default:
return errors.New("unknown schema")
return nil, errors.New("unknown schema")
}
}