mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 21:45:57 +00:00
13 lines
413 B
JavaScript
13 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");
|
|
});
|
|
};
|