export class AddEnableCustomSubscriberEmailNotificationFooterText1753131488925 {
    constructor() {
        this.name = "AddEnableCustomSubscriberEmailNotificationFooterText1753131488925";
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "StatusPage" ADD "enableCustomSubscriberEmailNotificationFooterText" boolean NOT NULL DEFAULT false`);
        /*
         * Data migration: Set existing status pages to have enableCustomSubscriberEmailNotificationFooterText = true
         * This ensures backward compatibility for existing status pages that already have custom footer text
         */
        await queryRunner.query(`UPDATE "StatusPage" SET "enableCustomSubscriberEmailNotificationFooterText" = true WHERE "subscriberEmailNotificationFooterText" IS NOT NULL AND "subscriberEmailNotificationFooterText" != ''`);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "StatusPage" DROP COLUMN "enableCustomSubscriberEmailNotificationFooterText"`);
    }
}
//# sourceMappingURL=1753131488925-AddEnableCustomSubscriberEmailNotificationFooterText.js.map