SpatiaLite database structure