From 8c4a9be219583f10744455de77985ccb24d7de4b Mon Sep 17 00:00:00 2001 From: Adrien Berchet Date: Mon, 6 Feb 2023 14:35:25 +0100 Subject: [PATCH] Restore old DB --- geoalchemy2/dialects/sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoalchemy2/dialects/sqlite.py b/geoalchemy2/dialects/sqlite.py index 5cc14b97..a939e141 100644 --- a/geoalchemy2/dialects/sqlite.py +++ b/geoalchemy2/dialects/sqlite.py @@ -26,7 +26,7 @@ def load_spatialite(dbapi_conn, connection_record): dbapi_conn.enable_load_extension(True) dbapi_conn.load_extension(os.environ["SPATIALITE_LIBRARY_PATH"]) dbapi_conn.enable_load_extension(False) - dbapi_conn.execute("SELECT InitSpatialMetaDataFull();") + dbapi_conn.execute("SELECT InitSpatialMetaData();") def _get_spatialite_attrs(bind, table_name, col_name):