variables de entorno, correcciones de codigo actual, docker file

This commit is contained in:
Your Name
2025-04-02 11:14:45 -06:00
parent 60c75f437f
commit bf7c0e93a8
33 changed files with 190 additions and 47 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ export class Opcion {
@Column({ type: String, nullable: false, length: 200, default: '' })
opcion: string;
@OneToMany(() => PreguntaOpcion, (preguntaOpcion) => preguntaOpcion.id_opcion)
Preguntas: PreguntaOpcion[];
@OneToMany(() => PreguntaOpcion, (preguntaOpcion) => preguntaOpcion.opcion)
preguntasOpciones: PreguntaOpcion[];
}
+1 -1
View File
@@ -8,6 +8,6 @@ import { Opcion } from './entities/opcion.entity';
imports: [TypeOrmModule.forFeature([Opcion])], // Importa el repositorio de Opcion
controllers: [OpcionController],
providers: [OpcionService],
exports: [OpcionService]
exports: [OpcionService, TypeOrmModule]
})
export class OpcionModule {}