Merge branch 'master' into neilalexander/sqlite-roomserver

This commit is contained in:
Neil Alexander 2020-01-09 17:11:36 +00:00
commit 6c64aa0685

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")
}
}