import { MigrationInterface, QueryRunner } from "typeorm";

export class Migrations1781506628712 implements MigrationInterface {
    name = 'Migrations1781506628712'

    public async up(queryRunner: QueryRunner): Promise<void> {
        //  await queryRunner.query(`ALTER TABLE "campaign_categories" DROP COLUMN "order_by"`);
    }

    public async down(queryRunner: QueryRunner): Promise<void> {
        await queryRunner.query(`ALTER TABLE "campaign_categories" ADD "order_by" integer NOT NULL DEFAULT '1'`);
    }

}
