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
				
			
		|  | @ -2,8 +2,9 @@ import { Student } from '../users/student.entity.js'; | |||
| import { Group } from './group.entity.js'; | ||||
| import { Entity, Enum, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'; | ||||
| import { Language } from '../content/language.js'; | ||||
| import {SubmissionRepository} from "../../data/assignments/submission-repository"; | ||||
| 
 | ||||
| @Entity() | ||||
| @Entity({repository: () => SubmissionRepository}) | ||||
| export class Submission { | ||||
|     @PrimaryKey({ type: 'string' }) | ||||
|     learningObjectHruid!: string; | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger