mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-05 04:42:34 +02:00
added a migration
This commit is contained in:
parent
0254e72177
commit
1cebe001a7
1 changed files with 4 additions and 0 deletions
4
db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js
Normal file
4
db/knex_migrations/2024-10-31-0000-fix-snmp-monitor.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
exports.up = function (knex) {
|
||||
return knex('monitor').whereNull('json_path_operator').update('json_path_operator', '==');
|
||||
};
|
||||
exports.down = function (knex) {};
|
Loading…
Add table
Reference in a new issue