changeset 1254:a477ad82ab66

minor addition to drop tables
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 03 Apr 2024 11:38:16 -0400
parents ef68d4ba7dae
children c0fe55a6b82f
files trafficintelligence/storage.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/trafficintelligence/storage.py	Mon Mar 25 17:05:20 2024 -0400
+++ b/trafficintelligence/storage.py	Wed Apr 03 11:38:16 2024 -0400
@@ -50,6 +50,8 @@
                 dropTables(connection, ['objects', 'objects_features'])
             elif dataType == 'interaction':
                 dropTables(connection, ['interactions', 'indicators'])
+            elif dataType == 'curvilinear':
+                dropTables(connection, ['curvilinear_positions'])
             elif dataType == 'bb':
                 dropTables(connection, ['bounding_boxes'])
             elif dataType == 'pois':