import { MigrationInterface, QueryRunner } from "typeorm";

export class Migrations1729503407064 implements MigrationInterface {
    name = 'Migrations1729503407064'

    public async up(queryRunner: QueryRunner): Promise<void> {
        await queryRunner.query(`ALTER TABLE "instagram_profiles" ADD "biography" text NOT NULL DEFAULT ''`);
        await queryRunner.query(`ALTER TABLE "instagram_profiles" ADD "account_type" text NOT NULL DEFAULT ''`);
    }

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

}
