mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-23 11:55:13 +00:00
12 lines
335 B
JavaScript
12 lines
335 B
JavaScript
|
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"`);
|
||
|
}
|
||
|
}
|