yesodweb/persistent — Issue #25: EmptyDataDecls required if no unique constraints
Author: luite
Created: 2011-10-25 18:38:32+00:00
State: open

If a model has no unique constraints, persistent generates an empty Unique datatype. The scaffold fails to compile. It can be fixed in the Yesod scaffold by adding the language extension to Models.hs, but it would be nicer if persistent wouldn't generate an empty datatype.