Skip to content

Commit

Permalink
Restore old DB
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Feb 6, 2023
1 parent b6bd20c commit 8c4a9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoalchemy2/dialects/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8c4a9be

Please sign in to comment.