Merge pull request #11 from sbditto85/limit_session_key

limit the session key as per the the definition comment 'The ID of a …
This commit is contained in:
Michael Xavier 2017-01-31 19:32:20 -08:00 committed by GitHub
commit f51ce82a3c

View File

@ -150,7 +150,7 @@ instance forall sess. P.PersistFieldSql (Decomposed sess) => P.PersistEntity (Pe
(P.DBName "key")
(P.FTTypeCon Nothing "SessionId sess")
(P.sqlType (Proxy :: Proxy (SessionId sess)))
[]
["maxlen=30"]
True
P.NoReference
persistFieldDef PersistentSessionAuthId