Corrected down function

b4bd003626 (r1585590243)
pull/4717/head
Matt Visnovsky 8 months ago
parent 7459654e11
commit e944492da8

@ -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");
});
};

Loading…
Cancel
Save