mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-28 16:08:27 +00:00
Merge branch 'master' into neilalexander/sqlite-roomserver
This commit is contained in:
commit
6c64aa0685
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue