# HG changeset patch # User casties # Date 1283248066 -7200 # Node ID c732c2ff61d9257a8bce02d7893c2c7561e546cb # Parent 6d2055f1b4fa2172c35f4eac42e1e13dee06c08d fixed sql data types diff -r 6d2055f1b4fa -r c732c2ff61d9 RestDbInterface.py --- a/RestDbInterface.py Tue Aug 31 10:54:00 2010 +0200 +++ b/RestDbInterface.py Tue Aug 31 11:47:46 2010 +0200 @@ -53,11 +53,11 @@ gisToSqlTypeMap = { "text": "text", - "number": "number", + "number": "numeric", "id": "text", - "gis_id": "integer", - "coord_lat": "float", - "coord_lon": "float" + "gis_id": "text", + "coord_lat": "numeric", + "coord_lon": "numeric" } class RestDbInterface(Folder):