@pgpmjs/core 4.8.0 → 4.9.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.
@@ -20,7 +20,7 @@ const DB_REQUIRED_EXTENSIONS = [
20
20
  'btree_gist',
21
21
  'postgis',
22
22
  'hstore',
23
- 'db-meta-schema',
23
+ 'metaschema-schema',
24
24
  'pgpm-inflection',
25
25
  'pgpm-uuid',
26
26
  'pgpm-utils',
@@ -37,8 +37,9 @@ const DB_REQUIRED_EXTENSIONS = [
37
37
  */
38
38
  const SERVICE_REQUIRED_EXTENSIONS = [
39
39
  'plpgsql',
40
- 'db-meta-schema',
41
- 'db-meta-modules'
40
+ 'metaschema-schema',
41
+ 'metaschema-modules',
42
+ 'services'
42
43
  ];
43
44
  /**
44
45
  * Checks which pgpm modules from the extensions list are missing from the workspace
@@ -201,7 +202,7 @@ GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public to public;
201
202
  DO $LQLMIGRATION$
202
203
  DECLARE
203
204
  BEGIN
204
-
205
+
205
206
  EXECUTE format('GRANT CONNECT ON DATABASE %I TO %I', current_database(), 'app_user');
206
207
  EXECUTE format('GRANT CONNECT ON DATABASE %I TO %I', current_database(), 'app_admin');
207
208
 
@@ -10,6 +10,7 @@ export const PGPM_MODULE_MAP = {
10
10
  'pgpm-database-jobs': '@pgpm/database-jobs',
11
11
  'metaschema-modules': '@pgpm/metaschema-modules',
12
12
  'metaschema-schema': '@pgpm/metaschema-schema',
13
+ 'services': '@pgpm/services',
13
14
  'pgpm-inflection': '@pgpm/inflection',
14
15
  'pgpm-jwt-claims': '@pgpm/jwt-claims',
15
16
  'pgpm-stamps': '@pgpm/stamps',
@@ -26,7 +26,7 @@ const DB_REQUIRED_EXTENSIONS = [
26
26
  'btree_gist',
27
27
  'postgis',
28
28
  'hstore',
29
- 'db-meta-schema',
29
+ 'metaschema-schema',
30
30
  'pgpm-inflection',
31
31
  'pgpm-uuid',
32
32
  'pgpm-utils',
@@ -43,8 +43,9 @@ const DB_REQUIRED_EXTENSIONS = [
43
43
  */
44
44
  const SERVICE_REQUIRED_EXTENSIONS = [
45
45
  'plpgsql',
46
- 'db-meta-schema',
47
- 'db-meta-modules'
46
+ 'metaschema-schema',
47
+ 'metaschema-modules',
48
+ 'services'
48
49
  ];
49
50
  /**
50
51
  * Checks which pgpm modules from the extensions list are missing from the workspace
@@ -207,7 +208,7 @@ GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public to public;
207
208
  DO $LQLMIGRATION$
208
209
  DECLARE
209
210
  BEGIN
210
-
211
+
211
212
  EXECUTE format('GRANT CONNECT ON DATABASE %I TO %I', current_database(), 'app_user');
212
213
  EXECUTE format('GRANT CONNECT ON DATABASE %I TO %I', current_database(), 'app_admin');
213
214
 
@@ -13,6 +13,7 @@ exports.PGPM_MODULE_MAP = {
13
13
  'pgpm-database-jobs': '@pgpm/database-jobs',
14
14
  'metaschema-modules': '@pgpm/metaschema-modules',
15
15
  'metaschema-schema': '@pgpm/metaschema-schema',
16
+ 'services': '@pgpm/services',
16
17
  'pgpm-inflection': '@pgpm/inflection',
17
18
  'pgpm-jwt-claims': '@pgpm/jwt-claims',
18
19
  'pgpm-stamps': '@pgpm/stamps',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "4.8.0",
3
+ "version": "4.9.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM Package and Migration Tools",
6
6
  "main": "index.js",
@@ -52,7 +52,7 @@
52
52
  "@pgpmjs/logger": "^1.3.7",
53
53
  "@pgpmjs/server-utils": "^2.8.14",
54
54
  "@pgpmjs/types": "^2.14.0",
55
- "csv-to-pg": "^3.3.2",
55
+ "csv-to-pg": "^3.3.3",
56
56
  "genomic": "^5.2.0",
57
57
  "glob": "^13.0.0",
58
58
  "komoji": "^0.7.14",
@@ -64,5 +64,5 @@
64
64
  "pgsql-parser": "^17.9.9",
65
65
  "yanse": "^0.1.11"
66
66
  },
67
- "gitHead": "97528ad4eb2f60c16785ffb84af7b61c52cb5ad8"
67
+ "gitHead": "baa2f7598cde3baf3f05f161a11bafa12c66f6aa"
68
68
  }