diff --git a/db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js b/db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js index bbd8ab859..94a3ac680 100644 --- a/db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js +++ b/db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js @@ -1,4 +1,7 @@ exports.up = function (knex) { return knex('monitor').whereNull('json_path_operator').update('json_path_operator', '=='); }; -exports.down = function (knex) {}; +exports.down = function (knex) { + // changing the json_path_operator back to null for all '==' is not possible anymore + // we have lost the context which fields have been set explicitely in >= v2.0 and which would need to be reverted +};