mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Merge branch 'master' of https://gitlab.com/pamhyr/pamhyr2
This commit is contained in:
commit
4b0612554a
1 file changed
+2
-3
@@ -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);"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user