Please enable JavaScript.
Coggle requires JavaScript to display documents.
StayWell-Datenbank :file_cabinet:, Adresse_tbl, Firma_tbl, InfoPieceTypen…
StayWell-Datenbank :file_cabinet:
Tabellen :bookmark_tabs:
User_tbl
u_id (PK)
vorname (varchar(20))
nachname (varchar(20))
email (varchar(30)
passwort (text) <- Verschlüsselt
userWellbeingRanking_tbl
uar_id (PK)
u_fk (
User
-FK-Key)
a_fk (
Achievement
-FK-Key)
ranknr (int(5))
erstellDatum (timestamp)
erstellDatum (timestamp)
companyRole
Info :information_source:
PostgresSQL
Eine riesige Datenbank für alle Kunden
Type:
Relationale Datenbank
Legende :rainbow:
Normale Tabelle
ZwischenTabelle
zus. Informationen
?
<= Spalte ist nullable
Statistische Tabelle
Adresse_tbl
a_id (PK)
straße + hnr (varchar (40))
plz (int (5))
stadt (varchar (20))
information (text?)
land (varchar (20))
erstellDatum (timestamp)
Firma_tbl
UserFirmen_tbl
uf_id
u_fk (
User
-FK-Key)
f_fk (
Firma
-FK-Key)
IsVerified (bool)
erstellDatum (timestamp)
f_id (PK)
firmenname (varchar (30))
adresse_fk (
Adresse
-FK-Key)
erstellDatum (timestamp)
InfoPieceTypen_tbl
it_id (PK)
type (varchar(10))
video, headline-text, ...
IsEnabled (bool?)
InfoPieceContent_tbl
c_id (PK)
type_fk (
InfoPieceTypen
-FK-Key)
beschreibung (varchar(20)?)
coins (int(4))
mögl. erreichbare Coins
info_fk (
InfoPiece
-FK-Key)
erstellDatum (timestamp)
erstellDatum (timestamp)
InfoPiece_video_tbl
i_id (PK)
title (varchar(40))
link (text)
erstellDatum (timestamp)
InfoPiece_<PLATZHALTER>_tbl
i_id (PK)
...
...
erstellDatum (timestamp)
Wellbeing_tbl
a_id (PK)
achievmentname (varchar(15))
erstellDatum (timestamp)
UserCoins_tbl
c_id (PK)
coins (int(5))
u_fk (
User
-FK-Key)
erstellDatum (timestamp)
InfoPiece_headlineText_tbl
i_id (PK)
text (varchar(70))
erstellDatum (timestamp)
UserInfoPieceGesehen_tbl
uig_id (PK)
u_fk (
User
-FK-Key)
c_fk (
InfoPieceContent
-FK-Key)
erstellDatum (timestamp)
UserInfoPieceBookmark_tbl
b_id (PK)
c_fk (
InfoPieceContent
-FK-Key)
zeitpunkt (timestamp)
UserInfoPieceShare_tbl
s_id (PK)
c_fk (
InfoPieceContent
-FK-Key)
zeitpunkt (timestamp)
UserLoginReport_tbl
l_id (PK)
zeitpunkt (datatime)
u_fk (
User_tbl
-FK-Key)