mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 13:35:56 +00:00
14 lines
413 B
JavaScript
14 lines
413 B
JavaScript
|
exports.up = function (knex) {
|
||
|
return knex.schema
|
||
|
.alterTable("monitor", function (table) {
|
||
|
table.boolean("database_query_handle_empty_as_failure").notNullable().defaultTo(false);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
exports.down = function (knex) {
|
||
|
return knex.schema
|
||
|
.alterTable("monitor", function (table) {
|
||
|
table.dropColumn("database_query_handle_empty_as_failure");
|
||
|
});
|
||
|
};
|