mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
feat(GameRole): add GameRole table
This commit is contained in:
parent
c655a238d7
commit
2033a7a408
8
src/design/entities/game-role.tex
Normal file
8
src/design/entities/game-role.tex
Normal file
@ -0,0 +1,8 @@
|
||||
\begin{entityTable}{SpelesLoma}{entity-game-role}
|
||||
\entityTableRow{nosaukums}{varchar(255)}{unique, not null}{Lomas nosaukums}
|
||||
\entityTableRow{apraksts}{text}{default '', not null}{Lomas apraksts}
|
||||
\entityTableRow{max\_speletaju\_skaits}{int4}{default 1, not null, check (max\_speletaju\_skaits > 0)}{Maksimālais spēlētāju skaiks spēlē ar doto lomu}
|
||||
\entityTableRow{ir\_pamata}{bool}{default false, not null}{Vai loma ir spēles pamatā vai lietotāju izveidots?}
|
||||
\entityTableRow{ir\_mafija}{bool}{default false, not null}{Vai loma ir mafija?}
|
||||
\entityTableRow{attels}{int8}{}{Lomas attēls, FOREING KEY uz \hyperref[tab:entity-image]{Attels} tabulas id kolonnu}
|
||||
\end{entityTable}
|
||||
@ -9,3 +9,4 @@ Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kod
|
||||
\input{./src/design/entities/subscription-price.tex}
|
||||
\input{./src/design/entities/password-recovery.tex}
|
||||
\input{./src/design/entities/email-confirmation.tex}
|
||||
\input{./src/design/entities/game-role.tex}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user