Change YesodDB to a single-equation closed family

This makes GHC 7.8.1 happy.