Corrected down function

b4bd003626 (r1585590243)
This commit is contained in:
Matt Visnovsky 2024-04-30 18:06:03 -06:00
parent 7459654e11
commit e944492da8
1 changed files with 7 additions and 1 deletions

View File

@ -10,5 +10,11 @@ exports.up = function (knex) {
};
exports.down = function (knex) {
// Nothing to do here
return knex.schema.alterTable("monitor", function (table) {
table.dropColumn("snmp_community_string");
table.dropColumn("snmp_oid");
table.dropColumn("snmp_version");
table.dropColumn("snmp_control_value");
table.dropColumn("snmp_condition");
});
};