Commit 32b2d96f authored by Diego Iván's avatar Diego Iván
Browse files

corrigiendo relacion en entidad town

parent 1bde6371
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()