lebd/config/models

33 lines
661 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
icon Text sqltype=varchar(255)
template Text sqltype=varchar(255)
Profile
userId UserId
siteId SiteId
username Text sqltype=varchar(255)
Entry
slug Slug
kind EntryKind
name Text maxlen=255
content Text sqltype=longtext
published UTCTime
updated UTCTime
authorId UserId