fixed foreign key
This commit is contained in:
@@ -2,10 +2,10 @@ import { Module } from '@nestjs/common';
|
||||
import { AlumnoService } from './student.service';
|
||||
import { StudentController } from './student.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Student } from './entities/student.entity';
|
||||
import { Alumno } from './entities/student.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Student])],
|
||||
imports: [TypeOrmModule.forFeature([Alumno])],
|
||||
controllers: [StudentController],
|
||||
providers: [AlumnoService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user