diff --git a/lib/PubSubManager/notifListener.ts b/lib/PubSubManager/notifListener.ts index 36fc20d6..13cffea8 100644 --- a/lib/PubSubManager/notifListener.ts +++ b/lib/PubSubManager/notifListener.ts @@ -92,6 +92,8 @@ export async function notifListener(this: PubSubManager, data: { payload: string if(orphanedTableConditions.length){ this.db .any(` + /* Delete removed subscriptions */ + /* ${PubSubManager.EXCLUDE_QUERY_FROM_SCHEMA_WATCH_ID} */ DELETE FROM prostgles.app_triggers at WHERE EXISTS ( SELECT 1 diff --git a/package-lock.json b/package-lock.json index 14fcc68a..1baec0ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prostgles-server", - "version": "4.2.131", + "version": "4.2.132", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prostgles-server", - "version": "4.2.131", + "version": "4.2.132", "license": "MIT", "dependencies": { "body-parser": "^1.20.3", diff --git a/package.json b/package.json index 48160a42..c22ce499 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prostgles-server", - "version": "4.2.131", + "version": "4.2.132", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/tests/server/package-lock.json b/tests/server/package-lock.json index c8745795..6c9a05bd 100644 --- a/tests/server/package-lock.json +++ b/tests/server/package-lock.json @@ -21,7 +21,7 @@ }, "../..": { "name": "prostgles-server", - "version": "4.2.131", + "version": "4.2.132", "license": "MIT", "dependencies": { "body-parser": "^1.20.3",