35 lines
607 B
Text
35 lines
607 B
Text
User
|
|
name Text
|
|
slug Text
|
|
email Text
|
|
salt ByteString
|
|
salted ByteString
|
|
albums [AlbumId]
|
|
admin Bool
|
|
deriving Typeable
|
|
Activator
|
|
token Text
|
|
user User
|
|
deriving
|
|
Token
|
|
token ByteString
|
|
kind Text
|
|
user UserId Maybe
|
|
deriving
|
|
Album
|
|
title Text
|
|
owner UserId
|
|
content [MediumId]
|
|
samplePic FilePath Maybe
|
|
deriving
|
|
Medium
|
|
title Text
|
|
path FilePath
|
|
time UTCTime
|
|
owner UserId
|
|
description Textarea
|
|
tags Texts
|
|
album AlbumId
|
|
deriving
|
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|