import { MigrationInterface , QueryRunner } from 'typeorm' ; export class InitialUsingTypeOrm1586960951326 implements MigrationInterface { name = 'InitialUsingTypeOrm1586960951326' ; public async up ( queryRunner ) { await queryRunner . query ( 'ALTER TABLE "certification_request" ALTER COLUMN "energy" TYPE BIGINT' ) ; } public async down ( queryRunner ) { await queryRunner . query ( 'ALTER TABLE "certification_request" ALTER COLUMN "energy" TYPE integer' ) ; } }