mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
DittoDB: support postgresql: protocol
This commit is contained in:
parent
aeaa236518
commit
0ddb1782e5
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ export class DittoDB {
|
|||
case 'sqlite:':
|
||||
return DittoSQLite.getInstance();
|
||||
case 'postgres:':
|
||||
case 'postgresql:':
|
||||
return DittoPostgres.getInstance();
|
||||
default:
|
||||
throw new Error('Unsupported database URL.');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue