eidolon/config/models

35 lines
602 B
Text
Raw Normal View History

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
2014-08-24 19:42:42 +00:00
salt ByteString
salted ByteString Maybe
2014-08-13 20:30:48 +00:00
albums [AlbumId]
2014-08-12 12:37:31 +00:00
deriving Typeable
2014-08-24 19:42:42 +00:00
Activator
2014-08-12 12:37:31 +00:00
token Text
user User
2014-08-13 20:30:48 +00:00
deriving
2014-08-24 19:42:42 +00:00
Token
token ByteString
kind Text
user UserId Maybe
deriving
Album
title Text
2014-08-13 22:52:32 +00:00
owner UserId
content [MediumId]
2014-08-15 11:25:33 +00:00
samplePic MediumId Maybe
2014-08-13 20:30:48 +00:00
deriving
Medium
2014-08-12 12:37:31 +00:00
title Text
path FilePath
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
deriving
2014-08-09 18:33:22 +00:00
-- By default this file is used in Model.hs (which is imported by Foundation.hs)