mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-05 04:42:34 +02:00
added an explanation why reverting is not possible
This commit is contained in:
parent
1cebe001a7
commit
b5d2aa308e
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
exports.up = function (knex) {
|
||||
return knex('monitor').whereNull('json_path_operator').update('json_path_operator', '==');
|
||||
};
|
||||
exports.down = function (knex) {};
|
||||
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 explicitely in >= v2.0 and which would need to be reverted
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue