@pgpmjs/core 4.12.0 → 4.12.1
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.
|
@@ -231,6 +231,7 @@ const config = {
|
|
|
231
231
|
table: 'extension',
|
|
232
232
|
fields: {
|
|
233
233
|
id: 'uuid',
|
|
234
|
+
database_id: 'uuid',
|
|
234
235
|
name: 'text'
|
|
235
236
|
}
|
|
236
237
|
},
|
|
@@ -823,7 +824,7 @@ export const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
823
824
|
await queryAndParse('full_text_search', `SELECT * FROM metaschema_public.full_text_search WHERE database_id = $1`);
|
|
824
825
|
await queryAndParse('schema_grant', `SELECT * FROM metaschema_public.schema_grant WHERE database_id = $1`);
|
|
825
826
|
await queryAndParse('table_grant', `SELECT * FROM metaschema_public.table_grant WHERE database_id = $1`);
|
|
826
|
-
await queryAndParse('extension', `SELECT * FROM metaschema_public.extension`);
|
|
827
|
+
await queryAndParse('extension', `SELECT * FROM metaschema_public.extension WHERE database_id = $1`);
|
|
827
828
|
// =============================================================================
|
|
828
829
|
// services_public tables
|
|
829
830
|
// =============================================================================
|
package/export/export-meta.js
CHANGED
|
@@ -234,6 +234,7 @@ const config = {
|
|
|
234
234
|
table: 'extension',
|
|
235
235
|
fields: {
|
|
236
236
|
id: 'uuid',
|
|
237
|
+
database_id: 'uuid',
|
|
237
238
|
name: 'text'
|
|
238
239
|
}
|
|
239
240
|
},
|
|
@@ -826,7 +827,7 @@ const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
826
827
|
await queryAndParse('full_text_search', `SELECT * FROM metaschema_public.full_text_search WHERE database_id = $1`);
|
|
827
828
|
await queryAndParse('schema_grant', `SELECT * FROM metaschema_public.schema_grant WHERE database_id = $1`);
|
|
828
829
|
await queryAndParse('table_grant', `SELECT * FROM metaschema_public.table_grant WHERE database_id = $1`);
|
|
829
|
-
await queryAndParse('extension', `SELECT * FROM metaschema_public.extension`);
|
|
830
|
+
await queryAndParse('extension', `SELECT * FROM metaschema_public.extension WHERE database_id = $1`);
|
|
830
831
|
// =============================================================================
|
|
831
832
|
// services_public tables
|
|
832
833
|
// =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/core",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM Package and Migration Tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"pgsql-parser": "^17.9.11",
|
|
65
65
|
"yanse": "^0.1.11"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "c934b1c3c831b236090053a8fc37f15e3a897877"
|
|
68
68
|
}
|