The function onlyOneUniqueDef is defined in Database.Persist.Class.PersistUnique but that module is private.
The function also does not seem to be used anywhere else in the project, making me thing it was meant to be exported. It also has a @since 2.10.0 annotation, suggesting that it was intended to be exported.
The function
onlyOneUniqueDefis defined inDatabase.Persist.Class.PersistUniquebut that module is private.The function also does not seem to be used anywhere else in the project, making me thing it was meant to be exported. It also has a
@since 2.10.0annotation, suggesting that it was intended to be exported.