Commit eeb4c2fb authored by Omar Luna Hernández's avatar Omar Luna Hernández
Browse files

Se limitan las descripciones a 1024 caracteres

parent 5ca9d5cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,6 +11,6 @@ export class PlaceTraduction {
  @ManyToOne(() => Place, (place) => place.availableDates, { nullable: false })
  idPlace: number;

  @Column()
  @Column({ length: 1024 })
  description: string;
}
+2 −2
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@ export class PointOfInterestTraduction {
  @PrimaryColumn()
  language: LANGUAGES;

  @Column({ nullable: false })
  @Column({ nullable: false, length: 1024 })
  content: string;
  @Column({ nullable: true })
  @Column({ nullable: true, length: 1024 })
  directions: string;

  @Column()
+1 −1
Original line number Diff line number Diff line
@@ -9,6 +9,6 @@ export class TownTraduction {
  @PrimaryColumn()
  language: LANGUAGES;

  @Column()
  @Column({ length: 1024 })
  description: string;
}