mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-20 16:50:37 +08:00
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:
13
db/knex_migrations/2025-05-09-0000-add-custom-url.js
Normal file
13
db/knex_migrations/2025-05-09-0000-add-custom-url.js
Normal 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");
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user