mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 03:01:08 +00:00
Corrected down function
https://github.com/louislam/uptime-kuma/pull/4717/files/b4bd003626986be1faab7142710f9443273d89fc#r1585590243
This commit is contained in:
@@ -10,5 +10,11 @@ exports.up = 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");
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user