fix: remove broken Department relation from Class entity
This commit is contained in:
@@ -36,10 +36,6 @@ export class Class {
|
||||
@Column({ name: 'department_id', type: 'integer', nullable: true })
|
||||
departmentId: number;
|
||||
|
||||
// Forward reference — Department entity will be added later
|
||||
@ManyToOne('Department', { nullable: true })
|
||||
@JoinColumn({ name: 'department_id' })
|
||||
department: unknown;
|
||||
|
||||
@Column({ name: 'class_type', length: 20 })
|
||||
classType: string;
|
||||
|
||||
Reference in New Issue
Block a user