feat: (broken) POST method voor groep

This commit is contained in:
Adriaan Jacquet 2025-03-13 15:49:13 +01:00
parent 6ad0e990c7
commit 4c76a82178
6 changed files with 81 additions and 7 deletions

View file

@ -17,8 +17,8 @@ export class Group {
})
assignment!: Assignment;
@PrimaryKey({ type: 'integer' })
groupNumber!: number;
@PrimaryKey({ type: 'integer', autoincrement: true })
groupNumber?: number;
@ManyToMany({
entity: () => {