1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 12:14:18 +00:00

Adding robots.txt override via admin control panel

This is a requested low priority feature in #418 - I created the changes
to follow similarly to how the Instance Description is handled.
This commit is contained in:
Kinetix
2025-01-28 15:57:45 -08:00
parent 4b104879cd
commit 993532bc1f
10 changed files with 62 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: marie and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class RobotsTxt1738098171990 {
name = 'RobotsTxt1738098171990'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "robotsTxt" character varying(2048)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "robotsTxt"`);
}
}