mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-03 00:37:01 +00:00
13 lines
408 B
JavaScript
13 lines
408 B
JavaScript
// Change dns_last_result column from VARCHAR(255) to TEXT to handle longer DNS TXT records
|
|
exports.up = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.text("dns_last_result").alter();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.string("dns_last_result", 255).alter();
|
|
});
|
|
};
|