Add DBEq instances.

This commit is contained in:
Nick 2022-12-11 23:05:34 +00:00
parent 4bf4fc3ffe
commit 52b42d16e9
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ import Flat as F
import qualified Data.Store
#endif
#ifdef USE_REL8
import Rel8 (DBType(..))
import Rel8 (DBType(..), DBEq(..))
#endif
newtype Id t = Id { unId :: UUID }
@ -65,7 +65,7 @@ newtype Id t = Id { unId :: UUID }
, PG.ToField, PG.FromField
#endif
#ifdef USE_REL8
, DBType
, DBType, DBEq
#endif
#endif
, FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey
@ -166,7 +166,7 @@ newtype IntId t = IntId Int64
, Data.Store.Store
#endif
#ifdef USE_REL8
, DBType
, DBType, DBEq
#endif
#endif
, FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey
@ -223,7 +223,7 @@ newtype Name t = Name { unName :: Text }
, Data.Store.Store
#endif
#ifdef USE_REL8
, DBType
, DBType, DBEq
#endif
#endif
, FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey

View File

@ -8,7 +8,7 @@ nix:
flags:
id:
rel8: false
rel8: true
openapi: false
lens: false
cassava: false