You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
372 B
8 lines
372 B
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 explicitely in >= v2.0 and which would need to be reverted
|
|
};
|