persistent 2.0.5.1 → 2.0.7
raw patch · 3 files changed
+2/−4 lines, 3 files
Files
- Database/Persist/Class/PersistEntity.hs +1/−1
- Database/Persist/Types/Base.hs +0/−2
- persistent.cabal +1/−1
Database/Persist/Class/PersistEntity.hs view
@@ -149,7 +149,7 @@ -- your query returns two entities (i.e. @(Entity backend a, -- Entity backend b)@), then you must you use @SELECT ??, ?? -- WHERE ...@, and so on.-data PersistEntity record => Entity record =+data Entity record = Entity { entityKey :: Key record , entityVal :: record }
Database/Persist/Types/Base.hs view
@@ -156,8 +156,6 @@ -- 1) composite (to fields that exist in the record) -- 2) single field -- 3) embedded------ embedding isn't really a reference data ReferenceDef = NoReference | ForeignRef !HaskellName !FieldType -- ^ A ForeignRef has a late binding to the EntityDef it references via HaskellName and has the Haskell type of the foreign key in the form of FieldType | EmbedRef EmbedEntityDef
persistent.cabal view
@@ -1,5 +1,5 @@ name: persistent-version: 2.0.5.1+version: 2.0.7 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>