@dbos-inc/dbos-sdk 0.8.67-preview.g1cdd64bc60 → 0.9.4-preview

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
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.index('executor_id');
9
+ });
10
+ };
11
+
12
+ /**
13
+ * @param { import("knex").Knex } knex
14
+ * @returns { Promise<void> }
15
+ */
16
+ exports.down = function(knex) {
17
+ return knex.schema.withSchema('dbos')
18
+ .alterTable('workflow_status', function(table) {
19
+ table.dropIndex('executor_id');
20
+ });
21
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "0.8.67-preview.g1cdd64bc60",
3
+ "version": "0.9.4-preview",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {