@pgpmjs/core 6.1.0 → 6.3.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.
|
@@ -833,6 +833,28 @@ const config = {
|
|
|
833
833
|
fields: 'uuid[]'
|
|
834
834
|
}
|
|
835
835
|
},
|
|
836
|
+
secure_table_provision: {
|
|
837
|
+
schema: 'metaschema_modules_public',
|
|
838
|
+
table: 'secure_table_provision',
|
|
839
|
+
fields: {
|
|
840
|
+
id: 'uuid',
|
|
841
|
+
database_id: 'uuid',
|
|
842
|
+
schema_id: 'uuid',
|
|
843
|
+
table_id: 'uuid',
|
|
844
|
+
table_name: 'text',
|
|
845
|
+
node_type: 'text',
|
|
846
|
+
use_rls: 'boolean',
|
|
847
|
+
node_data: 'jsonb',
|
|
848
|
+
grant_roles: 'text[]',
|
|
849
|
+
grant_privileges: 'jsonb',
|
|
850
|
+
policy_type: 'text',
|
|
851
|
+
policy_privileges: 'text[]',
|
|
852
|
+
policy_role: 'text',
|
|
853
|
+
policy_permissive: 'boolean',
|
|
854
|
+
policy_data: 'jsonb',
|
|
855
|
+
out_fields: 'uuid[]'
|
|
856
|
+
}
|
|
857
|
+
},
|
|
836
858
|
table_template_module: {
|
|
837
859
|
schema: 'metaschema_modules_public',
|
|
838
860
|
table: 'table_template_module',
|
|
@@ -999,6 +1021,7 @@ export const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
999
1021
|
await queryAndParse('crypto_auth_module', `SELECT * FROM metaschema_modules_public.crypto_auth_module WHERE database_id = $1`);
|
|
1000
1022
|
await queryAndParse('field_module', `SELECT * FROM metaschema_modules_public.field_module WHERE database_id = $1`);
|
|
1001
1023
|
await queryAndParse('table_template_module', `SELECT * FROM metaschema_modules_public.table_template_module WHERE database_id = $1`);
|
|
1024
|
+
await queryAndParse('secure_table_provision', `SELECT * FROM metaschema_modules_public.secure_table_provision WHERE database_id = $1`);
|
|
1002
1025
|
await queryAndParse('uuid_module', `SELECT * FROM metaschema_modules_public.uuid_module WHERE database_id = $1`);
|
|
1003
1026
|
await queryAndParse('default_ids_module', `SELECT * FROM metaschema_modules_public.default_ids_module WHERE database_id = $1`);
|
|
1004
1027
|
await queryAndParse('denormalized_table_field', `SELECT * FROM metaschema_modules_public.denormalized_table_field WHERE database_id = $1`);
|
package/export/export-meta.js
CHANGED
|
@@ -836,6 +836,28 @@ const config = {
|
|
|
836
836
|
fields: 'uuid[]'
|
|
837
837
|
}
|
|
838
838
|
},
|
|
839
|
+
secure_table_provision: {
|
|
840
|
+
schema: 'metaschema_modules_public',
|
|
841
|
+
table: 'secure_table_provision',
|
|
842
|
+
fields: {
|
|
843
|
+
id: 'uuid',
|
|
844
|
+
database_id: 'uuid',
|
|
845
|
+
schema_id: 'uuid',
|
|
846
|
+
table_id: 'uuid',
|
|
847
|
+
table_name: 'text',
|
|
848
|
+
node_type: 'text',
|
|
849
|
+
use_rls: 'boolean',
|
|
850
|
+
node_data: 'jsonb',
|
|
851
|
+
grant_roles: 'text[]',
|
|
852
|
+
grant_privileges: 'jsonb',
|
|
853
|
+
policy_type: 'text',
|
|
854
|
+
policy_privileges: 'text[]',
|
|
855
|
+
policy_role: 'text',
|
|
856
|
+
policy_permissive: 'boolean',
|
|
857
|
+
policy_data: 'jsonb',
|
|
858
|
+
out_fields: 'uuid[]'
|
|
859
|
+
}
|
|
860
|
+
},
|
|
839
861
|
table_template_module: {
|
|
840
862
|
schema: 'metaschema_modules_public',
|
|
841
863
|
table: 'table_template_module',
|
|
@@ -1002,6 +1024,7 @@ const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
1002
1024
|
await queryAndParse('crypto_auth_module', `SELECT * FROM metaschema_modules_public.crypto_auth_module WHERE database_id = $1`);
|
|
1003
1025
|
await queryAndParse('field_module', `SELECT * FROM metaschema_modules_public.field_module WHERE database_id = $1`);
|
|
1004
1026
|
await queryAndParse('table_template_module', `SELECT * FROM metaschema_modules_public.table_template_module WHERE database_id = $1`);
|
|
1027
|
+
await queryAndParse('secure_table_provision', `SELECT * FROM metaschema_modules_public.secure_table_provision WHERE database_id = $1`);
|
|
1005
1028
|
await queryAndParse('uuid_module', `SELECT * FROM metaschema_modules_public.uuid_module WHERE database_id = $1`);
|
|
1006
1029
|
await queryAndParse('default_ids_module', `SELECT * FROM metaschema_modules_public.default_ids_module WHERE database_id = $1`);
|
|
1007
1030
|
await queryAndParse('denormalized_table_field', `SELECT * FROM metaschema_modules_public.denormalized_table_field WHERE database_id = $1`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/core",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM Package and Migration Tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
"makage": "^0.1.12"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@pgpmjs/env": "^2.
|
|
52
|
-
"@pgpmjs/logger": "^2.
|
|
53
|
-
"@pgpmjs/server-utils": "^3.
|
|
54
|
-
"@pgpmjs/types": "^2.
|
|
55
|
-
"csv-to-pg": "^3.
|
|
51
|
+
"@pgpmjs/env": "^2.13.0",
|
|
52
|
+
"@pgpmjs/logger": "^2.2.0",
|
|
53
|
+
"@pgpmjs/server-utils": "^3.2.0",
|
|
54
|
+
"@pgpmjs/types": "^2.17.0",
|
|
55
|
+
"csv-to-pg": "^3.8.0",
|
|
56
56
|
"genomic": "^5.3.0",
|
|
57
57
|
"glob": "^13.0.0",
|
|
58
58
|
"komoji": "^0.8.0",
|
|
59
59
|
"minimatch": "^10.1.1",
|
|
60
60
|
"parse-package-name": "^1.0.0",
|
|
61
61
|
"pg": "^8.17.1",
|
|
62
|
-
"pg-cache": "^3.
|
|
63
|
-
"pg-env": "^1.
|
|
62
|
+
"pg-cache": "^3.1.0",
|
|
63
|
+
"pg-env": "^1.5.0",
|
|
64
64
|
"pgsql-deparser": "^17.17.2",
|
|
65
65
|
"pgsql-parser": "^17.9.11",
|
|
66
66
|
"yanse": "^0.2.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "594881150b097a4575f5dcdccf46207351d2a080"
|
|
69
69
|
}
|