pgpm 2.7.9 → 2.7.11

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.
@@ -55,7 +55,7 @@ exports.default = async (argv, prompter, _options) => {
55
55
  database: dbname
56
56
  });
57
57
  const dbsResult = await selectedDb.query(`
58
- SELECT id, name FROM collections_public.database;
58
+ SELECT id, name FROM metaschema_public.database;
59
59
  `);
60
60
  const { database_ids: selectedDatabaseName } = await prompter.prompt({}, [
61
61
  {
@@ -95,7 +95,7 @@ exports.default = async (argv, prompter, _options) => {
95
95
  required: true
96
96
  }
97
97
  ]);
98
- const schemasResult = await selectedDb.query(`SELECT * FROM collections_public.schema WHERE database_id = $1`, [dbInfo.database_ids[0]]);
98
+ const schemasResult = await selectedDb.query(`SELECT * FROM metaschema_public.schema WHERE database_id = $1`, [dbInfo.database_ids[0]]);
99
99
  const { schema_names } = await prompter.prompt({}, [
100
100
  {
101
101
  type: 'checkbox',
@@ -53,7 +53,7 @@ export default async (argv, prompter, _options) => {
53
53
  database: dbname
54
54
  });
55
55
  const dbsResult = await selectedDb.query(`
56
- SELECT id, name FROM collections_public.database;
56
+ SELECT id, name FROM metaschema_public.database;
57
57
  `);
58
58
  const { database_ids: selectedDatabaseName } = await prompter.prompt({}, [
59
59
  {
@@ -93,7 +93,7 @@ export default async (argv, prompter, _options) => {
93
93
  required: true
94
94
  }
95
95
  ]);
96
- const schemasResult = await selectedDb.query(`SELECT * FROM collections_public.schema WHERE database_id = $1`, [dbInfo.database_ids[0]]);
96
+ const schemasResult = await selectedDb.query(`SELECT * FROM metaschema_public.schema WHERE database_id = $1`, [dbInfo.database_ids[0]]);
97
97
  const { schema_names } = await prompter.prompt({}, [
98
98
  {
99
99
  type: 'checkbox',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgpm",
3
- "version": "2.7.9",
3
+ "version": "2.7.11",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PostgreSQL Package Manager - Database migration and package management CLI",
6
6
  "main": "index.js",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@inquirerer/utils": "^3.1.2",
50
- "@pgpmjs/core": "^4.7.0",
50
+ "@pgpmjs/core": "^4.7.2",
51
51
  "@pgpmjs/env": "^2.9.2",
52
52
  "@pgpmjs/logger": "^1.3.7",
53
53
  "@pgpmjs/types": "^2.14.0",
@@ -75,5 +75,5 @@
75
75
  "pg",
76
76
  "pgsql"
77
77
  ],
78
- "gitHead": "f2f9c9851beff3214790dfca371e4ca7f6c1373f"
78
+ "gitHead": "5eca40587d2b8e2362a2308bc3fa8c1eecf131da"
79
79
  }