@dbos-inc/dbos-sdk 1.15.7-preview → 1.15.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +4 -2
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/error.d.ts +3 -0
- package/dist/src/error.d.ts.map +1 -1
- package/dist/src/error.js +8 -1
- package/dist/src/error.js.map +1 -1
- package/dist/src/system_database.d.ts +2 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +11 -2
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/workflow.d.ts +5 -1
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +3 -0
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240621000000_workflow_tries.js +15 -0
- package/package.json +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
exports.up = function(knex) {
|
2
|
+
return knex.schema.withSchema('dbos')
|
3
|
+
.table('workflow_status', function(table) {
|
4
|
+
|
5
|
+
table.bigInteger('recovery_attempts')
|
6
|
+
.defaultTo(0);
|
7
|
+
});
|
8
|
+
};
|
9
|
+
|
10
|
+
exports.down = function(knex) {
|
11
|
+
return knex.schema.withSchema('dbos')
|
12
|
+
.table('workflow_status', function(table) {
|
13
|
+
table.dropColumn('recovery_attempts');
|
14
|
+
});
|
15
|
+
};
|