Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added back float4 for legacy DBs

  • Loading branch information...
commit 073f8656e5238aa41ad0e7e31f385b9a3198539a 1 parent 139bb44
Michael Snoyman snoyberg authored
1  backends/postgresql/Database/Persist/Postgresql.hs
View
@@ -264,6 +264,7 @@ getColumn getter tname
getType "date" = Right $ SqlDay
getType "bool" = Right $ SqlBool
getType "timestamp" = Right $ SqlDayTime
+ getType "float4" = Right $ SqlReal
getType "float8" = Right $ SqlReal
getType "bytea" = Right $ SqlBlob
getType a = Left $ "Unknown type: " ++ a
2  backends/postgresql/persistent-postgresql.cabal
View
@@ -1,5 +1,5 @@
name: persistent-postgresql
-version: 0.2.1
+version: 0.2.1.1
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Please sign in to comment.
Something went wrong with that request. Please try again.