prostgles-server 4.0.61 → 4.0.63
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.
- package/dist/DboBuilder/getTablesForSchemaPostgresSQL.js +1 -1
- package/lib/DboBuilder/getTablesForSchemaPostgresSQL.ts +1 -1
- package/package.json +3 -2
- package/tests/client/PID.txt +1 -1
- package/tests/client/package.json +1 -1
- package/tests/server/package-lock.json +1 -1
- package/tests/server/package.json +1 -1
|
@@ -62,7 +62,7 @@ async function getTablesForSchemaPostgresSQL({ db, runSQL }, schema = "public")
|
|
|
62
62
|
ccc.references,
|
|
63
63
|
ccc.has_default,
|
|
64
64
|
ccc.column_default,
|
|
65
|
-
ccc.privileges
|
|
65
|
+
COALESCE(ccc.privileges, '[]'::JSON) as privileges
|
|
66
66
|
) as x) ORDER BY ccc.ordinal_position ) as columns
|
|
67
67
|
FROM (
|
|
68
68
|
SELECT c.table_schema, c.table_name, c.column_name, c.data_type, c.udt_name
|
|
@@ -63,7 +63,7 @@ export async function getTablesForSchemaPostgresSQL({ db, runSQL }: DboBuilder,
|
|
|
63
63
|
ccc.references,
|
|
64
64
|
ccc.has_default,
|
|
65
65
|
ccc.column_default,
|
|
66
|
-
ccc.privileges
|
|
66
|
+
COALESCE(ccc.privileges, '[]'::JSON) as privileges
|
|
67
67
|
) as x) ORDER BY ccc.ordinal_position ) as columns
|
|
68
68
|
FROM (
|
|
69
69
|
SELECT c.table_schema, c.table_name, c.column_name, c.data_type, c.udt_name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prostgles-server",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.63",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"start": "tsc --watch",
|
|
13
13
|
"build": "tsc",
|
|
14
14
|
"lint": "eslint . --ext .ts --quiet --fix",
|
|
15
|
-
"test": "rm -rf ./node_modules/* && npm i && npm run lint && cd tests/ && ./test.sh"
|
|
15
|
+
"test": "rm -rf ./node_modules/* && npm i && npm run lint && cd tests/ && ./test.sh",
|
|
16
|
+
"publish": "npm version patch --git-tag-version false && git add -A && git commit -m \"add OnInitReason\" && git push && npm publish"
|
|
16
17
|
},
|
|
17
18
|
"repository": {
|
|
18
19
|
"type": "git",
|
package/tests/client/PID.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
150935
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "tsc-watch --onSuccess \"node dist/client/index.js\"",
|
|
8
8
|
"dev": "NOSTOP=true npm start",
|
|
9
|
-
"build": "rm -rf ./node_modules/* && npm i && tsc",
|
|
9
|
+
"build": "rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && tsc",
|
|
10
10
|
"test": "node dist/client/index.js & echo $! > ./PID.txt"
|
|
11
11
|
},
|
|
12
12
|
"author": "",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "tsc-watch --onSuccess \"node dist/server/index.js\"",
|
|
8
8
|
"dev": "NOSTOP=true npm start",
|
|
9
|
-
"build": "rm -rf ./node_modules/* && rm -rf ./media/* && npm i && tsc",
|
|
9
|
+
"build": "rm -rf ./node_modules/* && rm -rf ./media/* && rm -rf ./dist/* && npm i && tsc",
|
|
10
10
|
"test-server": "TEST_TYPE=server node --inspect dist/server/index.js",
|
|
11
11
|
"test-client": "TEST_TYPE=client node dist/server/index.js "
|
|
12
12
|
},
|