diff --git a/db/knex_migrations/2024-04-26-0000-snmp-monitor.js b/db/knex_migrations/2024-04-26-0000-snmp-monitor.js index 2b9474c8..6cf87100 100644 --- a/db/knex_migrations/2024-04-26-0000-snmp-monitor.js +++ b/db/knex_migrations/2024-04-26-0000-snmp-monitor.js @@ -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"); + }); };