mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-23 07:12:34 +02:00
13 lines
374 B
JavaScript
13 lines
374 B
JavaScript
// 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");
|
|
});
|
|
};
|