-
Notifications
You must be signed in to change notification settings - Fork 20
/
models
113 lines (113 loc) · 2.56 KB
/
models
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
User
fullName Text
website Text Maybe
email Text Maybe
verifiedEmail Bool default=false
verkey Text Maybe
haskellSince Int Maybe
desc Textarea Maybe
visible Bool default=true
real Bool default=false
realPic Bool default=false
admin Bool default=false
employment Employment Maybe
blocked Bool default=false
emailPublic Bool default=false
location Text Maybe
longitude Double Maybe
latitude Double Maybe
googlePlus Text Maybe
deriving Show Typeable
Username
user UserId
username Text
UniqueUsernameUser user
UniqueUsername username
deriving Show
Ident
ident Text
user UserId
UniqueIdent ident
Skill
name Text
UserSkill
user UserId
skill SkillId
UniqueUserSkill user skill
Package
user UserId
name Text
UniquePackage user name
Message
closed Bool
when UTCTime
from UserId Maybe
regarding UserId Maybe
text Textarea
News
when UTCTime
title Text
content Html
Job
postedBy UserId
postedAt UTCTime
title Text
location Text
fillingBy Day
fullTime Bool
partTime Bool
desc Textarea
descHtml Html Maybe
open Bool default=true
ScreenName
user UserId
service Service
name Text
Team
name Text
desc Html
UniqueTeam name
TeamUser
team TeamId
user UserId
status TeamUserStatus
UniqueTeamUser team user
TeamNews
team TeamId
when UTCTime
title Text
content Html
url Text
TeamPackage
team TeamId
name Text
hackage Bool
desc Text Maybe
homepage Text Maybe
Topic
team TeamId
created UTCTime
type TopicType
status TopicStatus
creator UserId Maybe
title Text
TopicMessage
topic TopicId
created UTCTime
creator UserId Maybe
content Html
Poll
question Text
created UTCTime
closed Bool default=false
PollOption
poll PollId
answer Text
priority Int
PollAnswer
poll PollId
option PollOptionId
user UserId
real Bool
answered UTCTime default=now()
UniquePollAnswer poll user