fix(backend): Added missing repository-properties to entity annotations
This commit is contained in:
parent
02be44fe53
commit
34af354a33
11 changed files with 22 additions and 11 deletions
|
@ -13,8 +13,9 @@ import { Attachment } from './attachment.entity.js';
|
|||
import { Teacher } from '../users/teacher.entity.js';
|
||||
import {DwengoContentType} from "../../services/learning-objects/processing/content-type";
|
||||
import {v4} from "uuid";
|
||||
import {LearningObjectRepository} from "../../data/content/learning-object-repository";
|
||||
|
||||
@Entity()
|
||||
@Entity({repository: () => LearningObjectRepository})
|
||||
export class LearningObject {
|
||||
@PrimaryKey({ type: 'string' })
|
||||
hruid!: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue