Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import { MigrationInterface, QueryRunner } from "typeorm"; export class TeamsSeed1626335616377 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(` INSERT INTO teams VALUES (14, 15), (9, 12), (6, 4), (2, 7), (10, 8), (21, 24), (22, 20), (18, 19), (11, 3), (5, 23), (16, 17), (1, 13) `); } public async down(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(` TRUNCATE TABLE teams `); } } |