mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-23 20:15:56 +00:00
13 lines
353 B
JavaScript
13 lines
353 B
JavaScript
// Add column publicUrl to monitor table
|
|
exports.up = function (knex) {
|
|
return knex.schema
|
|
.alterTable("monitor", function (table) {
|
|
table.text("publicUrl", "text");
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.dropColumn("publicUrl");
|
|
});
|
|
};
|