mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-26 02:14:04 +02:00

Some checks failed
Auto Test / armv7-simple-test (18, ARMv7) (push) Has been cancelled
Auto Test / armv7-simple-test (20, ARMv7) (push) Has been cancelled
Auto Test / check-linters (push) Has been cancelled
Auto Test / e2e-test (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
validate / json-yaml-validate (push) Has been cancelled
validate / validate (push) Has been cancelled
Auto Test / auto-test (18, ARM64) (push) Has been cancelled
Auto Test / auto-test (18, macos-latest) (push) Has been cancelled
Auto Test / auto-test (18, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (18, windows-latest) (push) Has been cancelled
Auto Test / auto-test (20, ARM64) (push) Has been cancelled
Auto Test / auto-test (20, macos-latest) (push) Has been cancelled
Auto Test / auto-test (20, ubuntu-latest) (push) Has been cancelled
Auto Test / auto-test (20, windows-latest) (push) Has been cancelled
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lupaulus <20111917+lupaulus@users.noreply.github.com>
15 lines
456 B
JavaScript
15 lines
456 B
JavaScript
exports.up = function (knex) {
|
|
// Add new column monitor.mqtt_websocket_path
|
|
return knex.schema
|
|
.alterTable("monitor", function (table) {
|
|
table.string("mqtt_websocket_path", 255).nullable();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
// Drop column monitor.mqtt_websocket_path
|
|
return knex.schema
|
|
.alterTable("monitor", function (table) {
|
|
table.dropColumn("mqtt_websocket_path");
|
|
});
|
|
};
|