mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
parent
7459654e11
commit
e944492da8
1 changed files with 7 additions and 1 deletions
|
@ -10,5 +10,11 @@ exports.up = function (knex) {
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.down = function (knex) {
|
exports.down = function (knex) {
|
||||||
// Nothing to do here
|
return knex.schema.alterTable("monitor", function (table) {
|
||||||
|
table.dropColumn("snmp_community_string");
|
||||||
|
table.dropColumn("snmp_oid");
|
||||||
|
table.dropColumn("snmp_version");
|
||||||
|
table.dropColumn("snmp_control_value");
|
||||||
|
table.dropColumn("snmp_condition");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue