diff --git a/Common/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.ts b/Common/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.ts index 5275b09dc2..94e5288fb8 100644 --- a/Common/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.ts +++ b/Common/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.ts @@ -1,16 +1,23 @@ import { MigrationInterface, QueryRunner } from "typeorm"; export class MigrationName1737715240684 implements MigrationInterface { - public name = 'MigrationName1737715240684' + public name = "MigrationName1737715240684"; - public async up(queryRunner: QueryRunner): Promise { - await queryRunner.query(`ALTER TABLE "StatusPage" DROP COLUMN "subscriberEmailNotificationFooterText"`); - await queryRunner.query(`ALTER TABLE "StatusPage" ADD "subscriberEmailNotificationFooterText" text`); - } - - public async down(queryRunner: QueryRunner): Promise { - await queryRunner.query(`ALTER TABLE "StatusPage" DROP COLUMN "subscriberEmailNotificationFooterText"`); - await queryRunner.query(`ALTER TABLE "StatusPage" ADD "subscriberEmailNotificationFooterText" character varying(100)`); - } + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query( + `ALTER TABLE "StatusPage" DROP COLUMN "subscriberEmailNotificationFooterText"`, + ); + await queryRunner.query( + `ALTER TABLE "StatusPage" ADD "subscriberEmailNotificationFooterText" text`, + ); + } + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query( + `ALTER TABLE "StatusPage" DROP COLUMN "subscriberEmailNotificationFooterText"`, + ); + await queryRunner.query( + `ALTER TABLE "StatusPage" ADD "subscriberEmailNotificationFooterText" character varying(100)`, + ); + } } diff --git a/Common/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts b/Common/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts index 393c77e708..f70ad45383 100644 --- a/Common/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +++ b/Common/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts @@ -199,5 +199,5 @@ export default [ MigrationName1736856662868, MigrationName1737141420441, MigrationName1737713529424, - MigrationName1737715240684 + MigrationName1737715240684, ]; diff --git a/Dashboard/src/Pages/StatusPages/View/SubscriberSettings.tsx b/Dashboard/src/Pages/StatusPages/View/SubscriberSettings.tsx index 6e632ebae3..6978a450c4 100644 --- a/Dashboard/src/Pages/StatusPages/View/SubscriberSettings.tsx +++ b/Dashboard/src/Pages/StatusPages/View/SubscriberSettings.tsx @@ -119,7 +119,8 @@ const StatusPageDelete: FunctionComponent< title: "Subscriber Email Notification Footer Text", fieldType: FormFieldSchemaType.LongText, required: false, - placeholder: "This is an automated email sent to you because you are subscribed to Status Page.", + placeholder: + "This is an automated email sent to you because you are subscribed to Status Page.", description: "This text will be added at the end of the email notification sent to subscribers. You can use this to add any additional information or links.", }, @@ -177,7 +178,7 @@ const StatusPageDelete: FunctionComponent< title: "Subscriber Email Notification Footer Text", description: "This text will be added at the end of the email notification sent to subscribers. You can use this to add any additional information or links.", - } + }, ], modelId: modelId, }}