1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-02-04 10:00:17 -06:00
paricafe/packages/backend/migration/1689102832143-nsfw-cache.js

12 lines
335 B
JavaScript
Raw Normal View History

export class NsfwCache1689102832143 {
name = 'NsfwCache1689102832143'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "cacheRemoteSensitiveFiles" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "cacheRemoteSensitiveFiles"`);
}
}