@dbos-inc/dbos-sdk 1.26.8-preview.g91ca9cd13d → 1.27.5-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schemas/system_db_schema.d.ts +6 -2
- package/dist/schemas/system_db_schema.d.ts.map +1 -1
- package/dist/src/dbos-executor.d.ts +6 -0
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +37 -0
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/decorators.d.ts +1 -0
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/eventreceiver.d.ts +33 -5
- package/dist/src/eventreceiver.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +13 -3
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/system_database.d.ts +7 -4
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +83 -19
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +2 -0
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +21 -13
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20241009150000_event_dispatch_kv.js +17 -0
- package/package.json +1 -1
@@ -0,0 +1,17 @@
|
|
1
|
+
exports.up = function(knex) {
|
2
|
+
return knex.schema.withSchema('dbos')
|
3
|
+
.createTable('event_dispatch_kv', function(table) {
|
4
|
+
table.text('service_name').notNullable();
|
5
|
+
table.text('workflow_fn_name').notNullable();
|
6
|
+
table.text('key').notNullable();
|
7
|
+
table.text('value');
|
8
|
+
table.decimal('update_seq', 38, 0);
|
9
|
+
table.decimal('update_time', 38, 15);
|
10
|
+
table.primary(['service_name','workflow_fn_name','key']);
|
11
|
+
})
|
12
|
+
};
|
13
|
+
|
14
|
+
exports.down = function(knex) {
|
15
|
+
return knex.schema.withSchema('dbos')
|
16
|
+
.dropTableIfExists('event_dispatch_kv');
|
17
|
+
};
|