deveelopment
This commit is contained in:
@@ -99,7 +99,7 @@ export class ProyectosAcademicos {
|
||||
|
||||
@IsOptional()
|
||||
@Length(0, 500)
|
||||
proyecto: string;
|
||||
proyecto_html: string;
|
||||
}
|
||||
|
||||
export class DatosAcademicos{
|
||||
@@ -117,5 +117,5 @@ export class LineasInvestigacion{
|
||||
|
||||
@IsOptional()
|
||||
@Length(0,300)
|
||||
lineas_inv: string;
|
||||
lineas_inv_html: string;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
Entity,
|
||||
PrimaryGeneratedColumn,
|
||||
PrimaryColumn,
|
||||
Column,
|
||||
ManyToOne,
|
||||
OneToMany,
|
||||
@@ -16,7 +16,7 @@ import { User } from 'src/users/entities/user.entity';
|
||||
|
||||
@Entity()
|
||||
export class Profesor {
|
||||
@PrimaryGeneratedColumn()
|
||||
@PrimaryColumn()
|
||||
id_profesor: number;
|
||||
|
||||
@Column({ type: 'int',nullable: false })
|
||||
|
||||
@@ -10,9 +10,6 @@ export class LineasInvestigacion {
|
||||
@Column({ type: 'int', nullable: false })
|
||||
id_profesor: number;
|
||||
|
||||
@Column({ type: 'varchar', length: 300, nullable: true })
|
||||
lineas_inv: string;
|
||||
|
||||
@Column({ type: 'varchar', length: 350, nullable: true })
|
||||
lineas_inv_html: string;
|
||||
|
||||
|
||||
@@ -10,9 +10,6 @@ export class ProyectosAcademicos {
|
||||
@Column({ type: 'int', nullable: false })
|
||||
id_profesor: number;
|
||||
|
||||
@Column({ type: 'varchar', length: 500, nullable: true })
|
||||
proyecto: string;
|
||||
|
||||
@Column({ type: 'varchar', length: 700, nullable: true })
|
||||
proyecto_html: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user