@pgpmjs/core 6.7.1 → 6.8.0

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.
@@ -23,6 +23,8 @@ const mapPgTypeToFieldType = (udtName) => {
23
23
  case 'jsonb':
24
24
  case 'json':
25
25
  return 'jsonb';
26
+ case '_jsonb':
27
+ return 'jsonb[]';
26
28
  case 'int4':
27
29
  case 'int8':
28
30
  case 'int2':
@@ -831,7 +833,8 @@ const config = {
831
833
  use_rls: 'boolean',
832
834
  node_data: 'jsonb',
833
835
  grant_roles: 'text[]',
834
- grant_privileges: 'jsonb',
836
+ fields: 'jsonb[]',
837
+ grant_privileges: 'jsonb[]',
835
838
  policy_type: 'text',
836
839
  policy_privileges: 'text[]',
837
840
  policy_role: 'text',
@@ -26,6 +26,8 @@ const mapPgTypeToFieldType = (udtName) => {
26
26
  case 'jsonb':
27
27
  case 'json':
28
28
  return 'jsonb';
29
+ case '_jsonb':
30
+ return 'jsonb[]';
29
31
  case 'int4':
30
32
  case 'int8':
31
33
  case 'int2':
@@ -834,7 +836,8 @@ const config = {
834
836
  use_rls: 'boolean',
835
837
  node_data: 'jsonb',
836
838
  grant_roles: 'text[]',
837
- grant_privileges: 'jsonb',
839
+ fields: 'jsonb[]',
840
+ grant_privileges: 'jsonb[]',
838
841
  policy_type: 'text',
839
842
  policy_privileges: 'text[]',
840
843
  policy_role: 'text',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "6.7.1",
3
+ "version": "6.8.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM Package and Migration Tools",
6
6
  "main": "index.js",
@@ -53,7 +53,7 @@
53
53
  "@pgpmjs/migrate-client": "^0.1.1",
54
54
  "@pgpmjs/server-utils": "^3.4.4",
55
55
  "@pgpmjs/types": "^2.19.3",
56
- "csv-to-pg": "^3.10.4",
56
+ "csv-to-pg": "^3.10.5",
57
57
  "genomic": "^5.3.8",
58
58
  "glob": "^13.0.6",
59
59
  "komoji": "^0.8.1",
@@ -66,5 +66,5 @@
66
66
  "pgsql-parser": "^17.9.13",
67
67
  "yanse": "^0.2.1"
68
68
  },
69
- "gitHead": "c18ef8e002d958001fe69fff3758d1f89613eb2b"
69
+ "gitHead": "3b3735292589a49601f40645ea7880f584a23b77"
70
70
  }