mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-06-23 04:10:14 +00:00
0f61d7ee1b
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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();
|
|
});
|
|
};
|