import { MigrationInterface , QueryRunner } from 'typeorm' ; export class ConnectionAttempts1630253190582 implements MigrationInterface { name = 'ConnectionAttempts1630253190582' ; public async up ( queryRunner ) { await queryRunner . query ( `ALTER TABLE "irec_connection" ADD "attempts" integer NOT NULL DEFAULT '0'` ) ; } public async down ( queryRunner ) { await queryRunner . query ( `ALTER TABLE "irec_connection" DROP COLUMN "attempts"` ) ; } }