fix(backend): Fouten in entity-definities gecorrigeerd.
This commit is contained in:
parent
d5101737ef
commit
4d3964c31f
6 changed files with 17 additions and 9 deletions
|
@ -14,12 +14,12 @@ export class Assignment {
|
|||
@Property({type: "string"})
|
||||
title!: string;
|
||||
|
||||
@Property({type: "longtext"})
|
||||
@Property({type: "text"})
|
||||
description!: string;
|
||||
|
||||
@ManyToOne({entity: () => LearningPath})
|
||||
task!: LearningPath;
|
||||
|
||||
@OneToMany({entity: () => Group})
|
||||
@OneToMany({entity: () => Group, mappedBy: "assignment"})
|
||||
groups!: Group[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue