1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-24 11:38:20 +09:00
MisskeyIO/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"`);
}
}