mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 04:29:05 +01: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`);
|
||
|
}
|
||
|
}
|