change YesodDB to a single-equation closed family