From 96925699531b7e66424480a4781c37b2fb86bdfc Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Fri, 28 Mar 2025 12:05:23 +0100 Subject: [PATCH] add created_via to participant entity ref #211 --- src/models/entities/Participant.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/models/entities/Participant.ts b/src/models/entities/Participant.ts index ccf7656..b279e64 100644 --- a/src/models/entities/Participant.ts +++ b/src/models/entities/Participant.ts @@ -75,6 +75,14 @@ export abstract class Participant { @IsEmail() email?: string; + /** + * how the participant got into the system + */ + @Column({ nullable: true }) + @IsOptional() + @IsEmail() + created_via?: string; + /** * Turns this entity into it's response class. */