export class MigrationName1767896933148 {
    constructor() {
        this.name = "MigrationName1767896933148";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ADD "authType" character varying(100) NOT NULL DEFAULT 'Username and Password'`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ADD "clientId" character varying(100)`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ADD "clientSecret" character varying(500)`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ADD "tokenUrl" text`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ADD "scope" character varying(500)`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" DROP COLUMN "scope"`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" DROP COLUMN "tokenUrl"`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" DROP COLUMN "clientSecret"`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" DROP COLUMN "clientId"`);
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" DROP COLUMN "authType"`);
    }
}
//# sourceMappingURL=1767896933148-MigrationName.js.map