fix(backend): group toch niet deel van primaire sleutel van vragen en submissions gemaakt, maar verplicht veld

This commit is contained in:
Gerald Schmittinger 2025-04-07 14:50:15 +02:00
parent b1df95da63
commit 7b79348985
10 changed files with 21 additions and 20 deletions

View file

@ -21,7 +21,7 @@ export class Question {
@PrimaryKey({ type: 'integer', autoincrement: true })
sequenceNumber?: number;
@ManyToOne({ entity: () => Group, primary: true })
@ManyToOne({ entity: () => Group })
inGroup!: Group;
@ManyToOne({