mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:33:08 +02: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`);
|
||
|
}
|
||
|
}
|