2017-10-02 03:07:09 -04:00
|
|
|
User
|
|
|
|
ident Text sqltype=varchar(255)
|
2017-10-02 09:52:14 -04:00
|
|
|
fullName Text sqltype=varchar(500)
|
2017-10-02 20:48:44 -04:00
|
|
|
email Text sqltype=varchar(255)
|
2017-10-02 22:17:34 -04:00
|
|
|
note Text
|
2017-10-02 03:07:09 -04:00
|
|
|
password Text Maybe sqltype=varchar(255) default=NULL
|
|
|
|
UniqueUser ident
|
|
|
|
deriving Typeable
|
|
|
|
Comment json -- Adding "json" causes ToJSON and FromJSON instances to be derived.
|
|
|
|
message Text sqltype=varchar(255)
|
2017-10-02 06:01:20 -04:00
|
|
|
userId UserId Maybe default=NULL
|
2017-10-02 03:07:09 -04:00
|
|
|
deriving Eq
|
|
|
|
deriving Show
|
2017-10-02 21:53:13 -04:00
|
|
|
Site
|
|
|
|
icon Text sqltype=varchar(255)
|
|
|
|
url Text sqltype=varchar(255)
|
|
|
|
Profile
|
|
|
|
userId UserId
|
|
|
|
siteId SiteId
|
|
|
|
username Text sqltype=varchar(255)
|
2017-10-02 03:07:09 -04:00
|
|
|
|
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|