feat: support postgresql protocol in database URI (#7757)

This commit is contained in:
Corey
2022-01-02 09:25:43 -05:00
committed by GitHub
parent 912edacb53
commit caf4a2341f
3 changed files with 50 additions and 56 deletions

View File

@@ -227,6 +227,7 @@ export function getDatabaseAdapter(databaseURI, collectionPrefix, databaseOption
}
switch (protocol) {
case 'postgres:':
case 'postgresql:':
return new PostgresStorageAdapter({
uri: databaseURI,
collectionPrefix,