diff --git a/fmtm_splitter/splitter.py b/fmtm_splitter/splitter.py index 9f1acf9..d1d9ac8 100755 --- a/fmtm_splitter/splitter.py +++ b/fmtm_splitter/splitter.py @@ -303,6 +303,7 @@ def json_str_to_dict(json_item: Union[str, dict]) -> dict: # NOTE this must be done in a NEW session with session() as temp_session: drop_cmd = ( + "DROP VIEW IF EXISTS lines_view;" "DROP TABLE IF EXISTS buildings CASCADE; " "DROP TABLE IF EXISTS clusteredbuildings CASCADE; " "DROP TABLE IF EXISTS dumpedpoints CASCADE; "