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 }) state: number; @OneToMany(() => Place, (place) => place.towns) @OneToMany(() => Place, (place) => place.idTown) 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 }) state: number; @OneToMany(() => Place, (place) => place.towns) @OneToMany(() => Place, (place) => place.idTown) places: Place[]; @Column() Loading