summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1620364649428-ad2.js
blob: db1c3e1de11084698b7355ae04713f6b120ffedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export class ad21620364649428 {
    constructor() {
        this.name = 'ad21620364649428';
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "ad" ADD "ratio" integer NOT NULL DEFAULT '1'`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "ad" DROP COLUMN "ratio"`);
    }
}