mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 10:46:48 +02:00
13 lines
381 B
JavaScript
13 lines
381 B
JavaScript
// 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();
|
|
});
|
|
};
|