import { MigrationInterface, QueryRunner } from "typeorm";

export class Migrations1781004986782 implements MigrationInterface {
    name = 'Migrations1781004986782'

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

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

}
