-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAufgabenAufteilung.txt
64 lines (29 loc) · 990 Bytes
/
AufgabenAufteilung.txt
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
views:
post_tag(*) -- alle tags und ihre zugehörigen posts -- dorian
post_comment(*) -- alle comments deren posts zuordnen -- taha
user_post(*) -- alle posts eines users -- florian
board_post(*) -- alle posts eines boards -- alexander
user_session(*) -- alle sessions eines users -- emin
trigger:
update rank on post -- taha
notify user on subscribed board post -- alexander
notify user on comment on post -- florian
check post likes on like (hot?), notify on hot -- emin
on create session increase login streak -- dorian
procedures / functions:
deleteNotificationsByUserId(userId)
getBoardsByCategory(boardCategory)
getPostsByTag(tagID)
getCommentsByPost(postID)
terminateSessionByUserId(userID)
indizes:
tbd
----------------------------------------------
getTags()
getPosts()
getPostsByUser(userID)
getCommentsByUser(userID)
getUserByUsername()
getNotificationsByUsername()
getUserLoginData(username)
createSession(username)