mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Updated a comment
This commit is contained in:
parent
a3cdd69995
commit
ff5890a11f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
exports.up = function (knex) {
|
exports.up = function (knex) {
|
||||||
return knex.schema
|
return knex.schema
|
||||||
.alterTable("monitor", function (table) {
|
.alterTable("monitor", function (table) {
|
||||||
table.string("snmp_community_string", 255).defaultTo("public"); // Add community_string column
|
table.string("snmp_community_string", 255).defaultTo("public"); // Add snmp_community_string column
|
||||||
table.string("snmp_oid").notNullable(); // Add oid column
|
table.string("snmp_oid").notNullable(); // 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").notNullable(); // Add control_value column as float
|
table.float("snmp_control_value").notNullable(); // Add control_value column as float
|
||||||
|
|
Loading…
Reference in a new issue