Co-authored-by: dipok-1 <dipokdutta8099@gmail.com> Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
12 lines
306 B
JavaScript
12 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");
|
|
});
|
|
};
|