2014-08-09 18:33:22 +00:00
|
|
|
User
|
2014-08-12 12:37:31 +00:00
|
|
|
name Text
|
2014-08-26 02:36:21 +00:00
|
|
|
slug Text
|
2014-08-09 18:33:22 +00:00
|
|
|
email Text
|
2014-08-24 19:42:42 +00:00
|
|
|
salt ByteString
|
2014-08-26 02:36:21 +00:00
|
|
|
salted ByteString
|
2014-08-13 20:30:48 +00:00
|
|
|
albums [AlbumId]
|
2014-09-06 06:56:36 +00:00
|
|
|
admin Bool
|
2014-09-14 03:05:06 +00:00
|
|
|
deriving Typeable Eq Show
|
2014-08-24 19:42:42 +00:00
|
|
|
Activator
|
2014-08-12 12:37:31 +00:00
|
|
|
token Text
|
|
|
|
user User
|
2014-09-14 03:05:06 +00:00
|
|
|
deriving Eq Show
|
2014-08-24 19:42:42 +00:00
|
|
|
Token
|
|
|
|
token ByteString
|
|
|
|
kind Text
|
|
|
|
user UserId Maybe
|
2014-09-14 03:05:06 +00:00
|
|
|
deriving Eq Show
|
2014-08-12 21:45:33 +00:00
|
|
|
Album
|
|
|
|
title Text
|
2014-08-13 22:52:32 +00:00
|
|
|
owner UserId
|
2014-12-06 03:39:24 +00:00
|
|
|
shares [UserId]
|
2014-08-12 21:45:33 +00:00
|
|
|
content [MediumId]
|
2014-12-23 04:01:53 +00:00
|
|
|
samplePic FP.FilePath Maybe
|
2014-09-14 03:05:06 +00:00
|
|
|
deriving Eq Show
|
2014-08-12 21:45:33 +00:00
|
|
|
Medium
|
2014-08-12 12:37:31 +00:00
|
|
|
title Text
|
2014-12-23 04:01:53 +00:00
|
|
|
path FP.FilePath
|
|
|
|
thumb FP.FilePath
|
2014-12-14 19:21:23 +00:00
|
|
|
mime Text
|
2014-08-12 12:37:31 +00:00
|
|
|
time UTCTime
|
2014-08-13 20:30:48 +00:00
|
|
|
owner UserId
|
2014-08-13 16:18:35 +00:00
|
|
|
description Textarea
|
2014-08-24 19:42:42 +00:00
|
|
|
tags Texts
|
2014-08-13 20:30:48 +00:00
|
|
|
album AlbumId
|
2014-09-14 03:05:06 +00:00
|
|
|
deriving Eq Show
|
2014-12-07 02:54:02 +00:00
|
|
|
Comment
|
|
|
|
author UserId Maybe
|
|
|
|
authorSlug Text Maybe
|
|
|
|
origin MediumId
|
|
|
|
parent CommentId Maybe
|
|
|
|
time UTCTime
|
|
|
|
content Markdown
|
|
|
|
deriving Show
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|