mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 17:23:21 +00:00
feat: add rss title field and handle rss link from request
This commit is contained in:
@@ -202,6 +202,7 @@ async function createTables() {
|
||||
table.text("footer_text");
|
||||
table.text("custom_css");
|
||||
table.boolean("show_powered_by").notNullable().defaultTo(true);
|
||||
table.string("rss_title", 255);
|
||||
table.string("google_analytics_tag_id");
|
||||
});
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
exports.up = function (knex) {
|
||||
return knex.schema
|
||||
.alterTable("status_page", function (table) {
|
||||
table.string("rss_title", 255);
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = function (knex) {
|
||||
return knex.schema.alterTable("status_page", function (table) {
|
||||
table.dropColumn("rss_title");
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user