@dbos-inc/dbos-sdk 1.11.5-preview → 1.11.6-preview

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @param { import("knex").Knex } knex
3
+ * @returns { Promise<void> }
4
+ */
5
+ exports.up = function(knex) {
6
+ return knex.schema.withSchema('dbos')
7
+ .alterTable('workflow_status', function(table) {
8
+ table.text('application_version');
9
+ table.text('application_id');
10
+ })
11
+ };
12
+
13
+ /**
14
+ * @param { import("knex").Knex } knex
15
+ * @returns { Promise<void> }
16
+ */
17
+ exports.down = function(knex) {
18
+ return knex.schema.withSchema('dbos')
19
+ .alterTable('workflow_status', function(table) {
20
+ table.dropColumn('application_version');
21
+ table.dropColumn('application_id');
22
+ })
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "1.11.5-preview",
3
+ "version": "1.11.6-preview",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,3 +0,0 @@
1
- export declare function getApplicationVersion(): string | undefined;
2
- export declare function setApplicationVersion(version: string): void;
3
- //# sourceMappingURL=applicationVersion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationVersion.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAE1D;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE3D"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setApplicationVersion = exports.getApplicationVersion = void 0;
4
- function getApplicationVersion() {
5
- return applicationVersion;
6
- }
7
- exports.getApplicationVersion = getApplicationVersion;
8
- function setApplicationVersion(version) {
9
- applicationVersion = version;
10
- }
11
- exports.setApplicationVersion = setApplicationVersion;
12
- let applicationVersion = undefined;
13
- //# sourceMappingURL=applicationVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationVersion.js","sourceRoot":"","sources":["../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":";;;AAAA,SAAgB,qBAAqB;IACjC,OAAO,kBAAkB,CAAC;AAC9B,CAAC;AAFD,sDAEC;AAED,SAAgB,qBAAqB,CAAC,OAAe;IACjD,kBAAkB,GAAG,OAAO,CAAC;AACjC,CAAC;AAFD,sDAEC;AAED,IAAI,kBAAkB,GAAuB,SAAS,CAAC"}