ES Lint Compliant

This commit is contained in:
Matt Visnovsky
2024-04-30 18:04:59 -06:00
parent ba47aca51f
commit 7459654e11
2 changed files with 20 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ exports.up = function (knex) {
.alterTable("monitor", function (table) {
table.string("snmp_community_string", 255).defaultTo("public"); // Add snmp_community_string column
table.string("snmp_oid").defaultTo(null); // Add oid column
table.enum("snmp_version", ["1", "2c", "3"]).defaultTo("2c"); // Add snmp_version column with enum values
table.enum("snmp_version", [ "1", "2c", "3" ]).defaultTo("2c"); // Add snmp_version column with enum values
table.float("snmp_control_value").defaultTo(null); // Add control_value column as float
table.string("snmp_condition").defaultTo(null); // Add oid column
});
@@ -11,4 +11,4 @@ exports.up = function (knex) {
exports.down = function (knex) {
// Nothing to do here
};
};