Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
export ZT wrapper and unwrap in PG backend
To avoid orphan instances of Ord and Eq for the ZonedTime type, a newtype wrapper is defined in Database.Persist.Store. As Database.Persist.Postgresql needs to get access to the value inside the wrapped ZonedTime, the ZT wrapper must be exported by Database.Persist.Store.
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters