@dbos-inc/dbos-sdk 1.12.2-preview → 1.12.4-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-runtime/migrate.d.ts.map +1 -1
- package/dist/src/dbos-runtime/migrate.js +9 -1
- package/dist/src/dbos-runtime/migrate.js.map +1 -1
- package/dist/src/user_database.d.ts +3 -0
- package/dist/src/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +52 -13
- package/dist/src/user_database.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAuB,MAAM,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAuB,MAAM,UAAU,CAAC;AAM3D,wBAAsB,OAAO,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,kBA4DzE;AAED,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,oBAarF;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,SAqB7E"}
|
@@ -7,6 +7,7 @@ const config_1 = require("./config");
|
|
7
7
|
const pg_1 = require("pg");
|
8
8
|
const user_db_schema_1 = require("../../schemas/user_db_schema");
|
9
9
|
const system_database_1 = require("../system_database");
|
10
|
+
const user_database_1 = require("../user_database");
|
10
11
|
async function migrate(configFile, logger) {
|
11
12
|
if (!configFile.database.password) {
|
12
13
|
logger.error(`DBOS configuration does not contain database password, please check your config file and retry!`);
|
@@ -117,10 +118,17 @@ async function createDBOSTables(configFile) {
|
|
117
118
|
const pgUserClient = new pg_1.Client(userPoolConfig);
|
118
119
|
await pgUserClient.connect();
|
119
120
|
// Create DBOS table/schema in user DB.
|
120
|
-
|
121
|
+
// Always check if the schema/table exists before creating it to avoid locks.
|
122
|
+
const schemaExists = await pgUserClient.query(user_database_1.schemaExistsQuery);
|
121
123
|
if (!schemaExists.rows[0].exists) {
|
122
124
|
await pgUserClient.query(user_db_schema_1.createUserDBSchema);
|
125
|
+
}
|
126
|
+
const txnOutputTableExists = await pgUserClient.query(user_database_1.txnOutputTableExistsQuery);
|
127
|
+
if (!txnOutputTableExists.rows[0].exists) {
|
123
128
|
await pgUserClient.query(user_db_schema_1.userDBSchema);
|
129
|
+
}
|
130
|
+
const txnIndexExists = await pgUserClient.query(user_database_1.txnOutputIndexExistsQuery);
|
131
|
+
if (!txnIndexExists.rows[0].exists) {
|
124
132
|
await pgUserClient.query(user_db_schema_1.userDBIndex);
|
125
133
|
}
|
126
134
|
// Create the DBOS system database.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":";;;AAAA,iDAA2D;AAC3D,4CAAiD;AACjD,qCAA2D;AAC3D,2BAAwC;AACxC,iEAA6F;AAC7F,wDAA2E;
|
1
|
+
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":";;;AAAA,iDAA2D;AAC3D,4CAAiD;AACjD,qCAA2D;AAC3D,2BAAwC;AACxC,iEAA6F;AAC7F,wDAA2E;AAC3E,oDAA2G;AAEpG,KAAK,UAAU,OAAO,CAAC,UAAsB,EAAE,MAAoB;IACxE,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,CAAC,KAAK,CAAC,iGAAiG,CAAC,CAAC;QAChH,OAAO,CAAC,CAAC;IACX,CAAC;IACD,MAAM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
export type UserDatabaseName = ValuesOf<typeof UserDatabaseName>;
|
28
|
+
export declare const schemaExistsQuery = "SELECT EXISTS (SELECT FROM information_schema.schemata WHERE schema_name = 'dbos')";
|
29
|
+
export declare const txnOutputTableExistsQuery = "SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_schema = 'dbos' AND table_name = 'transaction_outputs')";
|
30
|
+
export declare const txnOutputIndexExistsQuery = "SELECT EXISTS (SELECT FROM pg_indexes WHERE schemaname='dbos' AND tablename = 'transaction_outputs' AND indexname = 'transaction_outputs_idx')";
|
28
31
|
/**
|
29
32
|
* node-postgres user data access interface
|
30
33
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user_database.d.ts","sourceRoot":"","sources":["../../src/user_database.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAoD,MAAM,IAAI,CAAC;AAEpG,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,OAAO,IAAI,gBAAgB,CAAC;IAG5B,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,mBAAmB,EAAE,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAE3I,aAAa,CAAC,CAAC,SAAS,kBAAkB,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAC,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Module", { value: true });
|
3
|
-
exports.KnexUserDatabase = exports.TypeORMDatabase = exports.PrismaUserDatabase = exports.PGNodeUserDatabase = exports.UserDatabaseName = void 0;
|
3
|
+
exports.KnexUserDatabase = exports.TypeORMDatabase = exports.PrismaUserDatabase = exports.PGNodeUserDatabase = exports.txnOutputIndexExistsQuery = exports.txnOutputTableExistsQuery = exports.schemaExistsQuery = exports.UserDatabaseName = void 0;
|
4
4
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
5
5
|
const pg_1 = require("pg");
|
6
6
|
const user_db_schema_1 = require("../schemas/user_db_schema");
|
@@ -11,6 +11,9 @@ exports.UserDatabaseName = {
|
|
11
11
|
TYPEORM: "typeorm",
|
12
12
|
KNEX: "knex",
|
13
13
|
};
|
14
|
+
exports.schemaExistsQuery = `SELECT EXISTS (SELECT FROM information_schema.schemata WHERE schema_name = 'dbos')`;
|
15
|
+
exports.txnOutputTableExistsQuery = `SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_schema = 'dbos' AND table_name = 'transaction_outputs')`;
|
16
|
+
exports.txnOutputIndexExistsQuery = `SELECT EXISTS (SELECT FROM pg_indexes WHERE schemaname='dbos' AND tablename = 'transaction_outputs' AND indexname = 'transaction_outputs_idx')`;
|
14
17
|
/**
|
15
18
|
* node-postgres user data access interface
|
16
19
|
*/
|
@@ -23,9 +26,18 @@ class PGNodeUserDatabase {
|
|
23
26
|
}
|
24
27
|
async init(debugMode = false) {
|
25
28
|
if (!debugMode) {
|
26
|
-
await this.pool.query(
|
27
|
-
|
28
|
-
|
29
|
+
const schemaExists = await this.pool.query(exports.schemaExistsQuery);
|
30
|
+
if (!schemaExists.rows[0].exists) {
|
31
|
+
await this.pool.query(user_db_schema_1.createUserDBSchema);
|
32
|
+
}
|
33
|
+
const txnOutputTableExists = await this.pool.query(exports.txnOutputTableExistsQuery);
|
34
|
+
if (!txnOutputTableExists.rows[0].exists) {
|
35
|
+
await this.pool.query(user_db_schema_1.userDBSchema);
|
36
|
+
}
|
37
|
+
const txnIndexExists = await this.pool.query(exports.txnOutputIndexExistsQuery);
|
38
|
+
if (!txnIndexExists.rows[0].exists) {
|
39
|
+
await this.pool.query(user_db_schema_1.userDBIndex);
|
40
|
+
}
|
29
41
|
}
|
30
42
|
}
|
31
43
|
async destroy() {
|
@@ -113,9 +125,18 @@ class PrismaUserDatabase {
|
|
113
125
|
}
|
114
126
|
async init(debugMode = false) {
|
115
127
|
if (!debugMode) {
|
116
|
-
await this.prisma.$queryRawUnsafe(
|
117
|
-
|
118
|
-
|
128
|
+
const schemaExists = await this.prisma.$queryRawUnsafe(exports.schemaExistsQuery);
|
129
|
+
if (!schemaExists[0].exists) {
|
130
|
+
await this.prisma.$queryRawUnsafe(user_db_schema_1.createUserDBSchema);
|
131
|
+
}
|
132
|
+
const txnOutputTableExists = await this.prisma.$queryRawUnsafe(exports.txnOutputTableExistsQuery);
|
133
|
+
if (!txnOutputTableExists[0].exists) {
|
134
|
+
await this.prisma.$queryRawUnsafe(user_db_schema_1.userDBSchema);
|
135
|
+
}
|
136
|
+
const txnIndexExists = await this.prisma.$queryRawUnsafe(exports.txnOutputIndexExistsQuery);
|
137
|
+
if (!txnIndexExists[0].exists) {
|
138
|
+
await this.prisma.$queryRawUnsafe(user_db_schema_1.userDBIndex);
|
139
|
+
}
|
119
140
|
}
|
120
141
|
}
|
121
142
|
async destroy() {
|
@@ -187,9 +208,18 @@ class TypeORMDatabase {
|
|
187
208
|
await this.dataSource.initialize(); // Need to initialize datasource even in debug mode.
|
188
209
|
}
|
189
210
|
if (!debugMode) {
|
190
|
-
await this.dataSource.query(
|
191
|
-
|
192
|
-
|
211
|
+
const schemaExists = await this.dataSource.query(exports.schemaExistsQuery);
|
212
|
+
if (!schemaExists[0].exists) {
|
213
|
+
await this.dataSource.query(user_db_schema_1.createUserDBSchema);
|
214
|
+
}
|
215
|
+
const txnOutputTableExists = await this.dataSource.query(exports.txnOutputTableExistsQuery);
|
216
|
+
if (!txnOutputTableExists[0].exists) {
|
217
|
+
await this.dataSource.query(user_db_schema_1.userDBSchema);
|
218
|
+
}
|
219
|
+
const txnIndexExists = await this.dataSource.query(exports.txnOutputIndexExistsQuery);
|
220
|
+
if (!txnIndexExists[0].exists) {
|
221
|
+
await this.dataSource.query(user_db_schema_1.userDBIndex);
|
222
|
+
}
|
193
223
|
}
|
194
224
|
}
|
195
225
|
async destroy() {
|
@@ -256,9 +286,18 @@ class KnexUserDatabase {
|
|
256
286
|
}
|
257
287
|
async init(debugMode = false) {
|
258
288
|
if (!debugMode) {
|
259
|
-
await this.knex.raw(
|
260
|
-
|
261
|
-
|
289
|
+
const schemaExists = await this.knex.raw(exports.schemaExistsQuery);
|
290
|
+
if (!schemaExists.rows[0].exists) {
|
291
|
+
await this.knex.raw(user_db_schema_1.createUserDBSchema);
|
292
|
+
}
|
293
|
+
const txnOutputTableExists = await this.knex.raw(exports.txnOutputIndexExistsQuery);
|
294
|
+
if (!txnOutputTableExists.rows[0].exists) {
|
295
|
+
await this.knex.raw(user_db_schema_1.userDBSchema);
|
296
|
+
}
|
297
|
+
const txnIndexExists = await this.knex.raw(exports.txnOutputIndexExistsQuery);
|
298
|
+
if (!txnIndexExists.rows[0].exists) {
|
299
|
+
await this.knex.raw(user_db_schema_1.userDBIndex);
|
300
|
+
}
|
262
301
|
}
|
263
302
|
}
|
264
303
|
async destroy() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user_database.js","sourceRoot":"","sources":["../../src/user_database.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,2BAAoG;AACpG,8DAA0F;AAC1F,+CAAkE;AAmCrD,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX;;GAEG;AACH,MAAa,kBAAkB;IAGR;IAFZ,IAAI,CAAO;IAEpB,YAAqB,UAAsB;QAAtB,eAAU,GAAV,U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