gifbox migration

This commit is contained in:
ThatOneCalculator 2023-01-08 11:34:37 -08:00
parent 7ccab999a4
commit 85140d8a97
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@ export class gifboxIntegration1672854439804 {
this.name = 'gifboxIntegration1672854439804';
}
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "deeplAuthKey" character varying(128)`);
await queryRunner.query(`ALTER TABLE "meta" ADD "gifboxAuthKey" character varying(128)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "deeplAuthKey"`);
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "gifboxAuthKey"`);
}
}