mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 21:45:13 +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`);
|
||
|
}
|
||
|
}
|