40 lines
835 B
Text
40 lines
835 B
Text
User
|
|
username Text maxlen=190
|
|
password Text maxlen=79
|
|
fullName Text maxlen=500
|
|
email Text maxlen=190
|
|
avatar Text maxlen=190
|
|
note Text sqltype=mediumtext
|
|
UniqueUser username
|
|
UniqueEmail email
|
|
deriving Typeable
|
|
|
|
PgpKey
|
|
userId UserId
|
|
fingerprint Text maxlen=40
|
|
UniqueFingerprint fingerprint
|
|
|
|
Site
|
|
name Text sqltype=varchar(255)
|
|
icon Text sqltype=varchar(255)
|
|
template Text sqltype=varchar(255)
|
|
|
|
Profile
|
|
userId UserId
|
|
siteId SiteId
|
|
username Text sqltype=varchar(255)
|
|
displayName Text Maybe sqltype=varchar(255)
|
|
|
|
Entry
|
|
slug Slug
|
|
kind EntryKind
|
|
name Text maxlen=255
|
|
content Text sqltype=longtext
|
|
published UTCTime
|
|
updated UTCTime
|
|
authorId UserId
|
|
|
|
Syndication
|
|
entryId EntryId
|
|
profileId ProfileId
|
|
url Text sqltype=varchar(255)
|