1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00
Files
pawkey-sk/packages/backend/migration/1738346484187-robotsTxt.js
2025-01-31 10:22:13 -08:00

17 lines
417 B
JavaScript

/*
* SPDX-FileCopyrightText: marie and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class RobotsTxt1738346484187 {
name = 'RobotsTxt1738346484187'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "robotsTxt" text`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "robotsTxt"`);
}
}