Add a public URL field for monitors and uses it on the status page (#5435)

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Ionys
2025-05-10 19:05:37 +02:00
committed by GitHub
parent 86b3ef9c86
commit 2b3f49a266
8 changed files with 58 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
// Add column custom_url to monitor_group table
exports.up = function (knex) {
return knex.schema
.alterTable("monitor_group", function (table) {
table.text("custom_url", "text");
});
};
exports.down = function (knex) {
return knex.schema.alterTable("monitor_group", function (table) {
table.dropColumn("custom_url");
});
};