| Total Complexity | 2 | 
| Total Lines | 9 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | import { MigrationInterface, QueryRunner } from "typeorm" | ||
| 2 | |||
| 3 | export class removeJohnDoe1676042513328 implements MigrationInterface { | ||
| 4 | |||
| 5 |     public async up(queryRunner: QueryRunner): Promise<void> { | ||
| 6 | await queryRunner.query(`DELETE FROM "user" WHERE email = '[email protected]'`); | ||
| 7 | } | ||
| 8 | |||
| 9 |     public async down(queryRunner: QueryRunner): Promise<void> { | ||
| 10 |         await queryRunner.query(`INSERT INTO "user" VALUES('c5dc7188-cdf7-4439-a936-4379a79635de', 'John', 'Doe', '[email protected]', '$argon2i$v=19$m=4096,t=3,p=1$u7Jw1anFWyHcpfeOxjGYuQ$Ic4YheZZK9aF81q7CW8geSiG6Bsy+f52EnKTyzBlEXE', '$argon2i$v=19$m=4096,t=3,p=1$slHh/xhoh8SvIjApBHSZnA$hqsry11DeWbNYsFnzADPkYOP2WQrf0yqDXGC3xjSX9A', 'cooperator', '2020-04-04')`, undefined); | ||
| 11 | } | ||
| 14 |