mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 00:01:00 +00:00
Fix db coloum type for manual monitor (#5921)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user