2014-08-09 18:33:22 +00:00
|
|
|
User
|
2014-08-12 12:37:31 +00:00
|
|
|
name Text
|
2014-08-09 18:33:22 +00:00
|
|
|
email Text
|
2014-08-12 12:37:31 +00:00
|
|
|
password Text
|
|
|
|
deriving Typeable
|
|
|
|
-- Email
|
|
|
|
-- email Text
|
|
|
|
-- user UserId Maybe
|
|
|
|
-- verkey Text Maybe
|
|
|
|
-- UniqueEmail email
|
|
|
|
Token
|
|
|
|
token Text
|
|
|
|
user User
|
|
|
|
Media
|
|
|
|
title Text
|
|
|
|
path FilePath
|
|
|
|
thumbPath FilePath
|
|
|
|
time UTCTime
|
|
|
|
description Text
|
|
|
|
tags Texts
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|