import { MigrationInterface, QueryRunner } from "typeorm"; export class AddCbeBillPaymentMethod3050000000000 implements MigrationInterface { name = "AddCbeBillPaymentMethod3050000000000"; public async up(queryRunner: QueryRunner): Promise { // CBE Unified Bill Payment (docs/cbe/CBE_IMPLEMENTATION_PLAN.md §4.3) — lowercase-hyphen // per the local convention (see 2460000000000-AddCacBankPaymentMethod). await queryRunner.query(`ALTER TYPE freight.payments_method_enum ADD VALUE IF NOT EXISTS 'cbe-bill';`); } public async down(_queryRunner: QueryRunner): Promise { // PostgreSQL does not support removing enum values directly. } }