如何在Persistent中存储枚举?
假设您有数据State = Ready | 尚未准备好 错误
如何将其存储在Persistent数据库中?
haskell persistent yesod
haskell ×1
persistent ×1
yesod ×1