diff --git a/persistent-mongoDB/persistent-mongoDB.cabal b/persistent-mongoDB/persistent-mongoDB.cabal index 5acd4aa09..ac7d01a48 100644 --- a/persistent-mongoDB/persistent-mongoDB.cabal +++ b/persistent-mongoDB/persistent-mongoDB.cabal @@ -30,7 +30,7 @@ library , mongoDB >= 2.3 && < 2.8 , network >= 2.6 , path-pieces >= 0.2 - , resource-pool >= 0.2 && < 0.3 + , resource-pool >= 0.2 && < 0.4 , resourcet >= 1.1 , text >= 1.2 , time diff --git a/persistent/Database/Persist/TH.hs b/persistent/Database/Persist/TH.hs index 58ec1a107..2780dc366 100644 --- a/persistent/Database/Persist/TH.hs +++ b/persistent/Database/Persist/TH.hs @@ -20,6 +20,11 @@ -- | This module provides the tools for defining your database schema and using -- it to generate Haskell data types and migrations. +-- +-- For documentation on the domain specific language used for defining database +-- models, see "Database.Persist.Quasi". +-- +-- module Database.Persist.TH ( -- * Parse entity defs persistWith @@ -30,7 +35,11 @@ module Database.Persist.TH -- * Turn @EntityDef@s into types , mkPersist , mkPersistWith + -- ** Configuring Entity Definition , MkPersistSettings + , mkPersistSettings + , sqlSettings + -- *** Record Fields (for update/viewing settings) , mpsBackend , mpsGeneric , mpsPrefixFields @@ -41,8 +50,6 @@ module Database.Persist.TH , mpsDeriveInstances , mpsCamelCaseCompositeKeySelector , EntityJSON(..) - , mkPersistSettings - , sqlSettings -- ** Implicit ID Columns , ImplicitIdDef , setImplicitIdDef diff --git a/stack.yaml b/stack.yaml index 0e39966e9..281f52391 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: nightly-2022-06-10 +resolver: nightly-2022-12-16 packages: - ./persistent @@ -9,12 +9,3 @@ packages: - ./persistent-postgresql - ./persistent-redis - ./persistent-qq - -extra-deps: - - lift-type-0.1.0.0 - - mysql-0.2.1 - - mysql-simple-0.4.7 - # - aeson-2.0.2.0 - # https://github.com/yesodweb/shakespeare/pull/260 - # https://github.com/commercialhaskell/stackage/issues/6294 - # - happy-1.20.0