chore: add database_query_handle_empty_result migration

pull/5429/head
Antonino Natale 2 weeks ago
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…
Cancel
Save