Geometry: Point: Try to create index at each update.

This commit is contained in:
parouby committed 2026-09-04 11:30:30 +02:00
1 parent defcb3af84
commit 92fb653676
1 file changed
+2 -3
+2 -3
View File
@@ -95,10 +95,9 @@ class PointXYZ(Point):
"ADD COLUMN deleted BOOLEAN NOT NULL DEFAULT FALSE"
)
if major == "0" and minor == "2":
if int(release) < 5:
# Try to create index at each update
execute(
"CREATE INDEX idx_point " +
"CREATE INDEX IF NOT EXISTS idx_point " +
"ON geometry_pointXYZ(profile, scenario);"
)