From 91ffc16ed018a2263b0b5a8ff803299eaa64fcd2 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 10 Mar 2022 17:35:15 +0100 Subject: [PATCH] remove showEmail from transaction link model, alter database version --- backend/src/config/index.ts | 2 +- backend/src/graphql/model/TransactionLink.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index 4cd428153..b1fb8e397 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -10,7 +10,7 @@ Decimal.set({ }) const constants = { - DB_VERSION: '0030-transaction_link', + DB_VERSION: '0031-remove_sendEmail_from_transaction_link', DECAY_START_TIME: new Date('2021-05-13 17:46:31'), // GMT+0 } diff --git a/backend/src/graphql/model/TransactionLink.ts b/backend/src/graphql/model/TransactionLink.ts index 0f19df466..e90d4efd9 100644 --- a/backend/src/graphql/model/TransactionLink.ts +++ b/backend/src/graphql/model/TransactionLink.ts @@ -31,9 +31,6 @@ export class TransactionLink { @Field(() => Date) validUntil: Date - @Field(() => Boolean) - showEmail: boolean - @Field(() => Date, { nullable: true }) redeemedAt: Date | null