Cambios api 3
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user