mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 10:46:48 +02:00
Fix db coloum type for manual monitor (#5921)
This commit is contained in:
parent
55817061c0
commit
3b6a78bd80
1 changed files with 13 additions and 0 deletions
13
db/knex_migrations/2025-06-15-0001-manual-monitor-fix.js
Normal file
13
db/knex_migrations/2025-06-15-0001-manual-monitor-fix.js
Normal file
|
@ -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…
Add table
Reference in a new issue