Commit 2e571442 authored by Diego Iván's avatar Diego Iván
Browse files

corrigiendo relacion town con place

parent 73022204
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, eager: true })
  state: State;

  @OneToMany(() => Place, (place) => place.idTown)
  @OneToMany(() => Place, (place) => place.town)
  places: Place[];

  @Column()