2017-10-02 03:07:09 -04:00
|
|
|
User
|
2017-10-02 23:52:23 -04:00
|
|
|
username Text maxlen=190
|
2017-10-05 19:38:10 -04:00
|
|
|
password Text maxlen=79
|
2017-10-02 23:52:23 -04:00
|
|
|
fullName Text maxlen=500
|
|
|
|
email Text maxlen=190
|
2017-10-09 08:34:56 -04:00
|
|
|
avatar Text maxlen=190
|
2017-10-14 10:00:12 -04:00
|
|
|
note Markdown sqltype=mediumtext
|
2017-10-05 19:38:10 -04:00
|
|
|
UniqueUser username
|
2017-10-02 23:52:23 -04:00
|
|
|
UniqueEmail email
|
2017-10-02 03:07:09 -04:00
|
|
|
deriving Typeable
|
2017-10-02 23:52:23 -04:00
|
|
|
|
2017-10-03 18:09:39 -04:00
|
|
|
PgpKey
|
|
|
|
userId UserId
|
|
|
|
fingerprint Text maxlen=40
|
|
|
|
UniqueFingerprint fingerprint
|
|
|
|
|
2017-10-02 21:53:13 -04:00
|
|
|
Site
|
2017-10-10 07:41:49 -04:00
|
|
|
name Text sqltype=varchar(255)
|
2017-10-02 21:53:13 -04:00
|
|
|
icon Text sqltype=varchar(255)
|
2017-10-10 00:16:50 -04:00
|
|
|
template Text sqltype=varchar(255)
|
2017-10-02 23:52:23 -04:00
|
|
|
|
2017-10-02 21:53:13 -04:00
|
|
|
Profile
|
|
|
|
userId UserId
|
|
|
|
siteId SiteId
|
|
|
|
username Text sqltype=varchar(255)
|
2017-10-10 00:23:30 -04:00
|
|
|
displayName Text Maybe sqltype=varchar(255)
|
2017-10-08 01:51:48 -04:00
|
|
|
|
|
|
|
Entry
|
2017-10-11 05:21:53 -04:00
|
|
|
kind EntryKind maxlen=255
|
2017-10-11 08:34:36 -04:00
|
|
|
name Text Maybe maxlen=255
|
2017-10-14 10:12:18 -04:00
|
|
|
content Markdown sqltype=longtext
|
2017-10-15 17:29:21 -04:00
|
|
|
photo Text Maybe maxlen=190
|
2017-10-08 01:51:48 -04:00
|
|
|
published UTCTime
|
|
|
|
updated UTCTime
|
|
|
|
authorId UserId
|
2017-10-10 04:45:31 -04:00
|
|
|
|
|
|
|
Syndication
|
|
|
|
entryId EntryId
|
|
|
|
profileId ProfileId
|
|
|
|
url Text sqltype=varchar(255)
|
2017-10-13 23:59:51 -04:00
|
|
|
|
|
|
|
Category
|
|
|
|
tag Slug sqltype=varchar(190)
|
|
|
|
UniqueTag tag
|
|
|
|
|
|
|
|
EntryCategory
|
|
|
|
entryId EntryId
|
|
|
|
categoryId CategoryId
|
|
|
|
UniqueEntryCategory entryId categoryId
|