mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-23 02:58:18 +09:00
12 lines
397 B
JavaScript
12 lines
397 B
JavaScript
|
export class ChangeCacheRemoteFilesDefault1690417561186 {
|
||
|
name = 'ChangeCacheRemoteFilesDefault1690417561186'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "cacheRemoteFiles" SET DEFAULT false`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "cacheRemoteFiles" SET DEFAULT true`);
|
||
|
}
|
||
|
}
|