mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-08-07 09:14:58 +00:00
09dd7f3ff6
Signed-off-by: jannikbx <manmut@proton.me>
8 lines
371 B
JavaScript
8 lines
371 B
JavaScript
exports.up = function (knex) {
|
|
return knex("monitor").whereNull("json_path_operator").update("json_path_operator", "==");
|
|
};
|
|
exports.down = function (knex) {
|
|
// changing the json_path_operator back to null for all "==" is not possible anymore
|
|
// we have lost the context which fields have been set explicitly in >= v2.0 and which would need to be reverted
|
|
};
|