From 5cffbf2197b482196dfb256ff29bc54d0bdb89d1 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 30 Aug 2023 10:25:25 -0700 Subject: [PATCH] places: reduce column size Signed-off-by: Varun Patil --- lib/Service/Places.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/Places.php b/lib/Service/Places.php index d9363046..0fcf2a45 100644 --- a/lib/Service/Places.php +++ b/lib/Service/Places.php @@ -421,8 +421,8 @@ class Places // Create table $sql = 'CREATE TABLE memories_planet_geometry ( - id varchar(255) NOT NULL PRIMARY KEY, - poly_id varchar(255) NOT NULL, + id varchar(32) NOT NULL PRIMARY KEY, + poly_id varchar(32) NOT NULL, type_id int NOT NULL, osm_id int NOT NULL, geometry polygon NOT NULL