diff --git a/persistent-template/ChangeLog.md b/persistent-template/ChangeLog.md index c07633766..8ec78ab69 100644 --- a/persistent-template/ChangeLog.md +++ b/persistent-template/ChangeLog.md @@ -1,3 +1,7 @@ +## Unreleased changes + +* Update module documentation for `Database.Persist.TH` to better describe the purpose of the module [#968](https://github.com/yesodweb/persistent/pull/968) + ## 2.7.2 * Expose the knot tying logic of `parseReferences` so that users can build diff --git a/persistent-template/Database/Persist/TH.hs b/persistent-template/Database/Persist/TH.hs index b7b41c969..9382a93fb 100644 --- a/persistent-template/Database/Persist/TH.hs +++ b/persistent-template/Database/Persist/TH.hs @@ -9,8 +9,8 @@ {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -fno-warn-orphans -fno-warn-missing-fields #-} --- | This module provides utilities for creating backends. Regular users do not --- need to use this module. +-- | This module provides the tools for defining your database schema and using +-- it to generate Haskell data types and migrations. module Database.Persist.TH ( -- * Parse entity defs persistWith