packages feed

persistent-template 2.0.3 → 2.0.3.1

raw patch · 3 files changed

+2/−4 lines, 3 files

Files

Database/Persist/TH.hs view
@@ -71,7 +71,6 @@ import Data.Proxy (Proxy (Proxy)) import Web.PathPieces (PathPiece, toPathPiece, fromPathPiece) import GHC.Generics (Generic)-import Data.Int (Int64) import qualified Data.Text.Encoding as TE  -- | Converts a quasi-quoted syntax into a list of entity definitions, to be@@ -193,7 +192,7 @@                   then ForeignRef (HaskellName name)                                   -- the EmebedEntityDef does not contain FieldType information                                   -- but we shouldn't need this anyway-                                  (FTTypeCon Nothing $ pack $ nameBase ''Int64)+                                  (FTTypeCon Nothing $ pack $ nameBase ''Int)                   else NoReference           Just em -> EmbedRef em       existing@_   -> existing
persistent-template.cabal view
@@ -1,5 +1,5 @@ name:            persistent-template-version:         2.0.3+version:         2.0.3.1 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>
test/main.hs view
@@ -15,7 +15,6 @@ import Database.Persist.Types (PersistValue(..)) import Data.Text (Text, pack) import Data.Aeson-import Data.Int (Int64)  share [mkPersist sqlSettings { mpsGeneric = False }, mkDeleteCascade sqlSettings { mpsGeneric = False }] [persistUpperCase| Person json