2014-08-09 20:33:22 +02:00
|
|
|
User
|
2014-08-12 14:37:31 +02:00
|
|
|
name Text
|
2014-08-09 20:33:22 +02:00
|
|
|
email Text
|
2014-08-12 14:37:31 +02:00
|
|
|
password Text
|
2014-08-13 22:30:48 +02:00
|
|
|
albums [AlbumId]
|
2014-08-12 14:37:31 +02:00
|
|
|
deriving Typeable
|
|
|
|
Token
|
|
|
|
token Text
|
|
|
|
user User
|
2014-08-13 22:30:48 +02:00
|
|
|
deriving
|
2014-08-12 23:45:33 +02:00
|
|
|
Album
|
|
|
|
title Text
|
2014-08-14 00:52:32 +02:00
|
|
|
owner UserId
|
2014-08-12 23:45:33 +02:00
|
|
|
content [MediumId]
|
2014-08-13 22:30:48 +02:00
|
|
|
deriving
|
2014-08-12 23:45:33 +02:00
|
|
|
Medium
|
2014-08-12 14:37:31 +02:00
|
|
|
title Text
|
|
|
|
path FilePath
|
|
|
|
time UTCTime
|
2014-08-13 22:30:48 +02:00
|
|
|
owner UserId
|
2014-08-13 18:18:35 +02:00
|
|
|
description Textarea
|
2014-08-12 23:45:33 +02:00
|
|
|
tags [Text]
|
2014-08-13 22:30:48 +02:00
|
|
|
album AlbumId
|
|
|
|
deriving
|
2014-08-09 20:33:22 +02:00
|
|
|
|
|
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|