fix: @entity(...) decorator gefixt in backend/src/entities
This commit is contained in:
parent
7a8673f66e
commit
55387066f0
12 changed files with 24 additions and 12 deletions
|
@ -10,8 +10,9 @@ import {
|
|||
} from '@mikro-orm/core';
|
||||
import { Language } from './language.js';
|
||||
import { Teacher } from '../users/teacher.entity.js';
|
||||
import { LearningPathRepository } from '../../data/content/learning-path-repository.js';
|
||||
|
||||
@Entity()
|
||||
@Entity({ repository: () => LearningPathRepository })
|
||||
export class LearningPath {
|
||||
@PrimaryKey({ type: 'string' })
|
||||
hruid!: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue