Loading backend/src/town/entities/town.entity.ts +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ export class Town { @ManyToOne(() => State, (state) => state.stateId, { nullable: false, eager: true }) state: State; @OneToMany(() => Place, (place) => place.idTown) @OneToMany(() => Place, (place) => place.town) places: Place[]; @Column() Loading Loading
backend/src/town/entities/town.entity.ts +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ export class Town { @ManyToOne(() => State, (state) => state.stateId, { nullable: false, eager: true }) state: State; @OneToMany(() => Place, (place) => place.idTown) @OneToMany(() => Place, (place) => place.town) places: Place[]; @Column() Loading