Last active
March 10, 2016 19:04
-
-
Save Wizek/115e751ef4af911bc344 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| data NotificationType = NotifTypeRequest | NotifTypeAccept | |
| deriving (Read, Show, Eq, Enum) | |
| derivePersistField "NotificationType" |
This file contains hidden or 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
| Model.hs:19:1: | |
| Multiple declarations of ‘NotificationId’ | |
| Declared at: Model.hs:19:1 | |
| Model.hs:19:1 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was the problem:
Notification gets an id field too by default.