From 4356741c485b397137d4591474fd90bcdf933ec3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 17 Nov 2012 20:45:17 -0500 Subject: - hstore adjustments --- lib/sqlalchemy/dialects/postgresql/base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/sqlalchemy/dialects/postgresql/base.py') diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 625ece6a1..f1061c90b 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -968,6 +968,9 @@ class PGTypeCompiler(compiler.GenericTypeCompiler): def visit_BIGINT(self, type_): return "BIGINT" + def visit_HSTORE(self, type_): + return "HSTORE" + def visit_datetime(self, type_): return self.visit_TIMESTAMP(type_) -- cgit v1.2.1