mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-05 01:15:38 -05:00
chore: add database_query_handle_empty_result migration
This commit is contained in:
parent
bdbd9e5d05
commit
16f8e4ee80
@ -0,0 +1,13 @@
|
|||||||
|
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");
|
||||||
|
});
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user