Cambios api 3

This commit is contained in:
TioSam77
2024-07-27 17:40:33 -06:00
+1 -2
View File
@@ -16,9 +16,8 @@ import { ProyectosAcademicos } from '../../proyectos_academicos/entities/proyect
import { User } from 'src/users/entities/user.entity';
@Entity({ name: 'profesor' })
@Index('PK_profesor', ['id_profesor'], { unique: true })
export class Profesor {
@PrimaryColumn({ type: 'int', nullable: false })
@PrimaryColumn({name:'id_profesor', type: 'int', nullable: false })
id_profesor: number;
@Column({ type: 'int', nullable: false })