variables de entorno, correcciones de codigo actual, docker file
This commit is contained in:
@@ -19,6 +19,6 @@ export class Seccion {
|
||||
@OneToMany(() => CuestionarioSeccion,(cuestionario_seccion) => cuestionario_seccion.id_seccion )
|
||||
seccion:CuestionarioSeccion[];
|
||||
|
||||
@OneToMany(()=> SeccionPregunta, (seccion_pregunta)=> seccion_pregunta.id_seccion)
|
||||
seccion_pregunta:SeccionPregunta[];
|
||||
@OneToMany(()=> SeccionPregunta, (seccion_pregunta)=> seccion_pregunta.seccion)
|
||||
seccionPreguntas:SeccionPregunta[];
|
||||
}
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { SeccionService } from './seccion.service';
|
||||
import { SeccionController } from './seccion.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Seccion } from './entities/seccion.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Seccion])],
|
||||
controllers: [SeccionController],
|
||||
providers: [SeccionService],
|
||||
exports: [TypeOrmModule]
|
||||
})
|
||||
export class SeccionModule {}
|
||||
|
||||
Reference in New Issue
Block a user