changeset 32:c732c2ff61d9

fixed sql data types
author casties
date Tue, 31 Aug 2010 11:47:46 +0200
parents 6d2055f1b4fa
children 355b1fa2d78f
files RestDbInterface.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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):