mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-22 22:13:20 +02: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…
Reference in New Issue
Block a user