persistable-record 0.4.0.2 → 0.4.0.3
raw patch · 2 files changed
+1/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
persistable-record.cabal view
@@ -1,5 +1,5 @@ name: persistable-record-version: 0.4.0.2+version: 0.4.0.3 synopsis: Binding between SQL database values and haskell records. description: This package contiains types to represent table constraints and interfaces to bind between SQL database values and Haskell records.
src/Database/Record/TH.hs view
@@ -228,10 +228,6 @@ offs <- defineColumnOffsets typeName' [ty | (_, ty) <- columns] return $ rec : offs --- | Generate column name from 'String'.-columnDefault :: String -> TypeQ -> (VarName, TypeQ)-columnDefault n t = (varCamelcaseName n, t)- -- | Record type declaration template with configured names. defineRecordTypeWithConfig :: NameConfig -> String -> String -> [(String, TypeQ)] -> [Name] -> Q [Dec] defineRecordTypeWithConfig config schema table columns =