1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-22 22:13:20 +02:00

Corrected down function

b4bd003626 (r1585590243)
This commit is contained in:
Matt Visnovsky 2024-04-30 18:06:03 -06:00
parent 7459654e11
commit e944492da8

View File

@ -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");
});
};