From 6c24df0f8ee49af5c47b80cb7b20141eb5308216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Iv=C3=A1n?= <80365304+Diego-lvan@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:10:56 -0600 Subject: [PATCH] haciendo numeros de coordenadas mas grande en la bd --- backend/src/place/entities/place.entity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/place/entities/place.entity.ts b/backend/src/place/entities/place.entity.ts index 2176b5bf..5a138308 100644 --- a/backend/src/place/entities/place.entity.ts +++ b/backend/src/place/entities/place.entity.ts @@ -46,10 +46,10 @@ export class Place { @Column() imageName: string; - @Column({ nullable: false, type: 'decimal', precision: 10, scale: 8 }) + @Column({ nullable: false, type: 'decimal', precision: 20, scale: 4 }) latitude; - @Column({ nullable: false, type: 'decimal', precision: 10, scale: 8 }) + @Column({ nullable: false, type: 'decimal', precision: 20, scale: 4 }) longitude; @Column({ nullable: false }) -- GitLab