From f95b61441015c74c11489862b3dd7f36541d39d8 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Fri, 28 Mar 2025 12:08:21 +0100 Subject: [PATCH] default created_via="backend" --- src/models/entities/Participant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/entities/Participant.ts b/src/models/entities/Participant.ts index b279e64..ba0c741 100644 --- a/src/models/entities/Participant.ts +++ b/src/models/entities/Participant.ts @@ -78,7 +78,7 @@ export abstract class Participant { /** * how the participant got into the system */ - @Column({ nullable: true }) + @Column({ nullable: true, default: "backend" }) @IsOptional() @IsEmail() created_via?: string;