export class IncreaseClientSecretLength1768216593272 {
    constructor() {
        this.name = "IncreaseClientSecretLength1768216593272";
    }
    async up(queryRunner) {
        /*
         * Change clientSecret from varchar(500) to text to support longer OAuth secrets
         * (e.g., Google service account private keys which are ~1700+ characters)
         */
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ALTER COLUMN "clientSecret" TYPE text`);
    }
    async down(queryRunner) {
        // Revert back to varchar(500)
        await queryRunner.query(`ALTER TABLE "ProjectSMTPConfig" ALTER COLUMN "clientSecret" TYPE character varying(500)`);
    }
}
//# sourceMappingURL=1768216593272-IncreaseClientSecretLength.js.map