The TH.hs module contains code generators.
persistent-template uses EntityDefs that it gets from the quasi-quoter.
The quasi-quoter is in persistent Quasi.hs
Similarly mant of the types come from the persistent library
Changes
2.7.2
Expose the knot tying logic of parseReferences so that users can build
migrations from independently define entities at runtime #932
2.7.1
Add the mkEntityDefList function to work around #902. #904
2.7.0
Depends on persistent-2.10.0 which provides the OnlyOneUniqueKey and AtLeastOneUniqueKey classes. Automatically generates instances for these classes based on how many unique keys the entity definition gets. This changes requires UndecidableInstances to be enabled on each module that generates entity definitions. #885
Removed deprecated sqlOnlySettings. Please use sqlSettings instead. #894
2.6.0
persistent#846: Improve error message when marshalling fails