Skip to content

Commit 3b6a78b

Browse files
authored
Fix db coloum type for manual monitor (#5921)
1 parent 5581706 commit 3b6a78b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Fix: Change manual_status column type to smallint
2+
exports.up = function (knex) {
3+
return knex.schema
4+
.alterTable("monitor", function (table) {
5+
table.smallint("manual_status").alter();
6+
});
7+
};
8+
9+
exports.down = function (knex) {
10+
return knex.schema.alterTable("monitor", function (table) {
11+
table.string("manual_status").alter();
12+
});
13+
};

0 commit comments

Comments
 (0)