1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 12:14:18 +00:00
Files
pawkey-sk/packages/backend/migration/1738098171990-robotsTxt.js
Kinetix 993532bc1f 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.
2025-01-28 15:57:45 -08:00

17 lines
436 B
JavaScript

/*
* 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"`);
}
}