import { MigrationInterface, QueryRunner } from "typeorm"

export class CancelOtherInput1756125974960 implements MigrationInterface {
  name = "CancelOtherInput1756125974960"

  public async up(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(
      `ALTER TABLE "trip_cancellations" ADD "other_input" character varying`,
    )
  }

  public async down(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(
      `ALTER TABLE "trip_cancellations" DROP COLUMN "other_input"`,
    )
  }
}
