Add missing types mapping for Postgresql backend

issue6411
review34071002
This commit is contained in:
Sergi Almacellas Abellana committed 2017-04-03 13:11:07 +02:00
1 parent a178546d0d
commit 5b86281166
1 file changed
+3
+3
View File
@@ -74,6 +74,9 @@ class Database(DatabaseInterface):
flavor = Flavor(ilike=True)
TYPES_MAPPING = {
'INTEGER': SQLType('INT4', 'INT4'),
'BIGINT': SQLType('INT8', 'INT8'),
'FLOAT': SQLType('FLOAT8', 'FLOAT8'),
'BLOB': SQLType('BYTEA', 'BYTEA'),
'DATETIME': SQLType('TIMESTAMP', 'TIMESTAMP(0)'),
'TIMESTAMP': SQLType('TIMESTAMP', 'TIMESTAMP(6)'),