feat(backend): Groep aan primaire sleutel van submissions en questions toegevoegd.
This commit is contained in:
parent
dbc1da741c
commit
12c1505ba7
3 changed files with 13 additions and 6 deletions
|
@ -20,6 +20,9 @@ export class Question {
|
|||
@PrimaryKey({ type: 'integer', autoincrement: true })
|
||||
sequenceNumber?: number;
|
||||
|
||||
@ManyToOne({ entity: () => Group, primary: true })
|
||||
inGroup: Group;
|
||||
|
||||
@ManyToOne({
|
||||
entity: () => Student,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue