summaryrefslogtreecommitdiff
path: root/config/models
blob: 172af231b196d6d46caa880f970a3ca7a3e28389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
User
    ident Text
    isAdmin Bool default=False
    UniqueUser ident
    deriving Show Eq
TimeEntry
    user UserId
    category TimeCategoryId
    day Day
    hours Double
    timestamp UTCTime
    deriving Show Eq
TimeCategory
    name Text
    disabled Bool
    UniqueTimeCategory name
    deriving Show Eq

 -- By default this file is used in Model.hs (which is imported by Foundation.hs)