mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-28 18:54:27 +01:00
DittoDB: support postgresql: protocol
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user