build with lts-18.14 (ghc-8.10.7) yesod/Model.hs: Specified both an ID field and a Primary field
when building with lts-18.14 (ghc-8.10.7)
autotool-yesod> [14 of 91] Compiling Model
autotool-yesod>
autotool-yesod> /home/waldmann/space/all/yesod/Model.hs:62:3: error:
autotool-yesod> • Exception when trying to run compile-time code:
autotool-yesod> Specified both an ID field and a Primary field
autotool-yesod> CallStack (from HasCallStack):
autotool-yesod> error, called at ./Database/Persist/Quasi/Internal.hs:643:21 in persistent-2.13.2.1-9QDkxS7FMjV5oldewVp8Ka:Database.Persist.Quasi.Internal
autotool-yesod> Code: persistFileWith lowerCaseSettings "config/models"
Edited by waldmann