From 76cbcc239393f61a2c9b26129b007cc7b59b07a5 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 4 Mar 2023 00:02:48 +0100 Subject: [PATCH] remove todo for foreign keys since there is an issue now --- database/entity/0061-event_refactoring/Event.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/database/entity/0061-event_refactoring/Event.ts b/database/entity/0061-event_refactoring/Event.ts index 0f2afab43..601852ccd 100644 --- a/database/entity/0061-event_refactoring/Event.ts +++ b/database/entity/0061-event_refactoring/Event.ts @@ -65,8 +65,6 @@ export class Event extends BaseEntity { @JoinColumn({ name: 'involved_contribution_id', referencedColumnName: 'id' }) involvedContribution: Contribution | null - // TEST do we need the Id field definition? - // TODO we need proper foreign keys to have things working without the explicit column @Column({ name: 'involved_contribution_message_id', type: 'int', unsigned: true, nullable: true }) involvedContributionMessageId: number | null