import { MigrationInterface , QueryRunner , TableColumn } from 'typeorm' ; const InvalidSinceColumn = new TableColumn ( { name : 'invalid_since' , type : 'bigint' , isNullable : true , } ) ; export class AddInvalidSinceColumn1627477365530 implements MigrationInterface { public async up ( queryRunner ) { await queryRunner . addColumn ( 'signed_orders_v4' , InvalidSinceColumn ) ; } public async down ( queryRunner ) { await queryRunner . dropColumn ( 'signed_orders_v4' , InvalidSinceColumn ) ; } }