import { MigrationInterface, QueryRunner } from 'typeorm';

export class addNewFieldPaymentKeyInOffenseBillTable1694690886034
  implements MigrationInterface
{
  name = 'addNewFieldPaymentKeyInOffenseBillTable1694690886034';

  public async up(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(
      `ALTER TABLE \`driving_offense_bills\` ADD \`paymentKey\` VARCHAR(128) NULL AFTER \`payId\``,
    );
  }

  public async down(queryRunner: QueryRunner): Promise<void> {
    //
  }
}
