Skip to content
13 changes: 13 additions & 0 deletions db/knex_migrations/2025-06-15-0001-manual-monitor-fix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Fix: Change manual_status column type to smallint
exports.up = function (knex) {
return knex.schema
.alterTable("monitor", function (table) {
table.smallint("manual_status").alter();
});
};

exports.down = function (knex) {
return knex.schema.alterTable("monitor", function (table) {
table.string("manual_status").alter();
});
};
Loading