prostgles-server 3.0.63 → 3.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,7 +70,7 @@ class PubSubManager {
70
70
  if (!this.canContinue())
71
71
  return undefined;
72
72
  try {
73
- const schema_version = 4;
73
+ const schema_version = 5;
74
74
  const q = `
75
75
  BEGIN; -- ISOLATION LEVEL SERIALIZABLE;-- TRANSACTION ISOLATION LEVEL SERIALIZABLE;
76
76
 
@@ -101,7 +101,7 @@ class PubSubManager {
101
101
  DROP SCHEMA IF EXISTS prostgles CASCADE;
102
102
  ELSE
103
103
  IF NOT EXISTS(SELECT 1 FROM prostgles.versions WHERE version >= ${schema_version}) THEN
104
- DROP SCHEMA IF EXISTS prostgles CASCADE;
104
+ DROP SCHEMA IF EXISTS prostgles CASCADE;
105
105
  END IF;
106
106
  END IF;
107
107
 
@@ -93,7 +93,7 @@ class PubSubManager {
93
93
  if (!this.canContinue())
94
94
  return undefined;
95
95
  try {
96
- const schema_version = 4;
96
+ const schema_version = 5;
97
97
  const q = `
98
98
  BEGIN; -- ISOLATION LEVEL SERIALIZABLE;-- TRANSACTION ISOLATION LEVEL SERIALIZABLE;
99
99
 
@@ -124,7 +124,7 @@ class PubSubManager {
124
124
  DROP SCHEMA IF EXISTS prostgles CASCADE;
125
125
  ELSE
126
126
  IF NOT EXISTS(SELECT 1 FROM prostgles.versions WHERE version >= ${schema_version}) THEN
127
- DROP SCHEMA IF EXISTS prostgles CASCADE;
127
+ DROP SCHEMA IF EXISTS prostgles CASCADE;
128
128
  END IF;
129
129
  END IF;
130
130
 
@@ -221,7 +221,7 @@ export class PubSubManager {
221
221
  if (!this.canContinue()) return undefined;
222
222
 
223
223
  try {
224
- const schema_version = 4;
224
+ const schema_version = 5;
225
225
 
226
226
  const q = `
227
227
  BEGIN; -- ISOLATION LEVEL SERIALIZABLE;-- TRANSACTION ISOLATION LEVEL SERIALIZABLE;
@@ -253,7 +253,7 @@ export class PubSubManager {
253
253
  DROP SCHEMA IF EXISTS prostgles CASCADE;
254
254
  ELSE
255
255
  IF NOT EXISTS(SELECT 1 FROM prostgles.versions WHERE version >= ${schema_version}) THEN
256
- DROP SCHEMA IF EXISTS prostgles CASCADE;
256
+ DROP SCHEMA IF EXISTS prostgles CASCADE;
257
257
  END IF;
258
258
  END IF;
259
259
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "3.0.63",
3
+ "version": "3.0.64",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- 258878
1
+ 261968
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "3.0.62",
24
+ "version": "3.0.63",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.121.0",