Skip to content

Commit

Permalink
Update 2024-04-26-0000-snmp-monitor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mattv8 committed Jun 10, 2024
1 parent e2e8109 commit 43bd09b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/knex_migrations/2024-04-26-0000-snmp-monitor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
exports.up = function (knex) {
return knex.schema
.alterTable("monitor", function (table) {
table.string("snmp_community_string", 255).defaultTo("public");
table.string("snmp_oid").defaultTo(null);
table.enum("snmp_version", [ "1", "2c", "3" ]).defaultTo("2c");
table.string("json_path_operator").defaultTo(null);
Expand All @@ -10,7 +9,6 @@ exports.up = function (knex) {

exports.down = function (knex) {
return knex.schema.alterTable("monitor", function (table) {
table.dropColumn("snmp_community_string");
table.dropColumn("snmp_oid");
table.dropColumn("snmp_version");
table.dropColumn("json_path_operator");
Expand Down

0 comments on commit 43bd09b

Please sign in to comment.