From 81284889ca7c465787f32621b51d930c3e927330 Mon Sep 17 00:00:00 2001 From: Oliver Fritz Date: Tue, 3 Dec 2024 17:02:12 +0100 Subject: [PATCH] fix: allow tasks with point geom in postgres --- postgres/initdb.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/initdb.sql b/postgres/initdb.sql index ce9b9719..f954d3a8 100644 --- a/postgres/initdb.sql +++ b/postgres/initdb.sql @@ -47,7 +47,7 @@ CREATE TABLE IF NOT EXISTS tasks ( project_id varchar, group_id varchar, task_id varchar, - geom geometry(MULTIPOLYGON, 4326), + geom geometry(Geometry, 4326), project_type_specifics json, PRIMARY KEY (project_id, group_id, task_id), FOREIGN KEY (project_id) REFERENCES projects (project_id),