From 0ddb1782e56a0c39c4bc1c892b54d0f8c19cde44 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 19 Apr 2024 21:20:35 -0500 Subject: [PATCH] DittoDB: support `postgresql:` protocol --- src/db/DittoDB.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db/DittoDB.ts b/src/db/DittoDB.ts index e27f92f..8ebe5e6 100644 --- a/src/db/DittoDB.ts +++ b/src/db/DittoDB.ts @@ -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.');