Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import {MigrationInterface, QueryRunner} from "typeorm"; |
||
5 | |||
6 | public async up(queryRunner: QueryRunner): Promise<void> { |
||
7 | await queryRunner.query(`ALTER TABLE "shooting" DROP COLUMN "closingDate"`); |
||
8 | await queryRunner.query(`ALTER TABLE "shooting" ADD "groupClosingDate" date NOT NULL`); |
||
9 | await queryRunner.query(`ALTER TABLE "shooting" ADD "individualClosingDate" date NOT NULL`); |
||
10 | } |
||
19 |