import { MigrationInterface , QueryRunner } from 'typeorm' ; export class IrecCertificate1623756661412 implements MigrationInterface { name = 'IrecCertificate1623756661412' ; public async up ( queryRunner ) { await queryRunner . query ( `CREATE TABLE "irec_issuer_certificate" (
                "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), 
                "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), 
                "certificateId" integer NOT NULL,
                "irecCertificateId" character varying NOT NULL, 
                CONSTRAINT "PK_bdc74ba2885c16d4fe7959060f9" PRIMARY KEY ("certificateId"))
            ` ) ; } public async down ( queryRunner ) { await queryRunner . query ( `DROP TABLE "irec_issuer_certificate"` ) ; } }