Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import {MigrationInterface, QueryRunner} from "typeorm"; |
||
11 | |||
12 | public async down(queryRunner: QueryRunner): Promise<void> { |
||
13 | await queryRunner.query(`ALTER TABLE "project" ALTER COLUMN "dayDuration" SET DEFAULT 7`); |
||
14 | await queryRunner.query(`COMMENT ON COLUMN "project"."dayDuration" IS ''`); |
||
15 | await queryRunner.query(`ALTER TABLE "event" DROP COLUMN "billable"`); |
||
16 | } |
||
19 |