institucion programa service final
This commit is contained in:
@@ -22,7 +22,9 @@ export class InstitucionPrograma {
|
||||
@Column({ type: Number, nullable: true })
|
||||
id_programa: number;
|
||||
|
||||
@ManyToOne(() => Institucion, (institucion) => institucion.programas)
|
||||
@ManyToOne(() => Institucion, (institucion) => institucion.programas, {
|
||||
eager: true,
|
||||
})
|
||||
@JoinColumn({ name: 'id_institucion' })
|
||||
institucion: Institucion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user