import { MigrationInterface, QueryRunner } from "typeorm";

export class Migrations1732961489683 implements MigrationInterface {
    name = 'Migrations1732961489683'

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

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

}
