@dbos-inc/dbos-sdk 1.11.5-preview → 1.11.7-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
|
+
};
|