@contember/engine-system-api 2.1.0-alpha.4 → 2.1.0-alpha.5
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.
- package/dist/development/src/model/migrations/ProjectMigrator.cjs +1 -1
- package/dist/development/src/model/migrations/ProjectMigrator.cjs.map +1 -1
- package/dist/development/src/model/migrations/ProjectMigrator.js +1 -1
- package/dist/development/src/model/migrations/ProjectMigrator.js.map +1 -1
- package/dist/production/src/model/migrations/ProjectMigrator.cjs +1 -1
- package/dist/production/src/model/migrations/ProjectMigrator.cjs.map +1 -1
- package/dist/production/src/model/migrations/ProjectMigrator.js +1 -1
- package/dist/production/src/model/migrations/ProjectMigrator.js.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/src/model/migrations/ProjectMigrator.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/engine-system-api",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/production/index.js",
|
|
6
6
|
"typings": "./dist/types/index.d.ts",
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@contember/authorization": "2.1.0-alpha.
|
|
27
|
-
"@contember/database": "2.1.0-alpha.
|
|
28
|
-
"@contember/database-migrations": "2.1.0-alpha.
|
|
29
|
-
"@contember/dic": "2.1.0-alpha.
|
|
30
|
-
"@contember/graphql-utils": "2.1.0-alpha.
|
|
31
|
-
"@contember/logger": "2.1.0-alpha.
|
|
32
|
-
"@contember/queryable": "2.1.0-alpha.
|
|
33
|
-
"@contember/schema": "2.1.0-alpha.
|
|
34
|
-
"@contember/schema-migrations": "2.1.0-alpha.
|
|
35
|
-
"@contember/schema-utils": "2.1.0-alpha.
|
|
26
|
+
"@contember/authorization": "2.1.0-alpha.5",
|
|
27
|
+
"@contember/database": "2.1.0-alpha.5",
|
|
28
|
+
"@contember/database-migrations": "2.1.0-alpha.5",
|
|
29
|
+
"@contember/dic": "2.1.0-alpha.5",
|
|
30
|
+
"@contember/graphql-utils": "2.1.0-alpha.5",
|
|
31
|
+
"@contember/logger": "2.1.0-alpha.5",
|
|
32
|
+
"@contember/queryable": "2.1.0-alpha.5",
|
|
33
|
+
"@contember/schema": "2.1.0-alpha.5",
|
|
34
|
+
"@contember/schema-migrations": "2.1.0-alpha.5",
|
|
35
|
+
"@contember/schema-utils": "2.1.0-alpha.5",
|
|
36
36
|
"@graphql-tools/utils": "^10.5.5",
|
|
37
37
|
"graphql-tag": "^2.12.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@contember/schema-definition": "2.1.0-alpha.
|
|
40
|
+
"@contember/schema-definition": "2.1.0-alpha.5",
|
|
41
41
|
"@types/node": "^20.17.22",
|
|
42
42
|
"graphql": "^16.9.0",
|
|
43
43
|
"pg": "^8.12.0"
|
|
@@ -227,7 +227,7 @@ export class ProjectMigrator {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
private async executeOnStage(db: Client, stage: Stage, sql: string, migrationVersion: string) {
|
|
230
|
-
await db.query('SET search_path TO ' + wrapIdentifier(stage.schema))
|
|
230
|
+
await db.query('SET LOCAL search_path TO ' + wrapIdentifier(stage.schema))
|
|
231
231
|
try {
|
|
232
232
|
await db.query(sql)
|
|
233
233
|
} catch (e) {
|