summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1629024377804-deepl-integration.js
blob: 19c49ffcdebe4112d8aff08b74c500bb159808d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export class deeplIntegration1629024377804 {
    constructor() {
        this.name = 'deeplIntegration1629024377804';
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" ADD "deeplAuthKey" character varying(128)`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "deeplAuthKey"`);
    }
}