Resourcemanagement/db/knex_migrations/2025-12-31-2143-add-snmp-v3-username.js

11 lines
306 B
JavaScript

exports.up = async function (knex) {
await knex.schema.alterTable("monitor", (table) => {
table.string("snmp_v3_username", 255);
});
};
exports.down = async function (knex) {
await knex.schema.alterTable("monitor", (table) => {
table.dropColumn("snmp_v3_username");
});
};