mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
feat(GameEvent): add GameEvent table
This commit is contained in:
parent
79a2ba4a6b
commit
2e0ce7df90
6
src/design/entities/game-event.tex
Normal file
6
src/design/entities/game-event.tex
Normal file
@ -0,0 +1,6 @@
|
||||
\begin{entityTable}{SpelesNotikums}{entity-game-event}
|
||||
\entityTableRow{nosaukums}{varchar(255)}{unique, not null}{Notikuma nosaukums}
|
||||
\entityTableRow{nakts\_pk}{int2}{default 0, not null, check (nakts\_pk >= 0)}{Spēles nakts pēc kārtas} % FIX:
|
||||
\entityTableRow{ir\_redzams}{bool}{default false, not null}{Vai notikums ir redzams spēlētājiem procesa laikā?}
|
||||
\entityTableRow{izveidosanas\_laiks}{timestamp}{not null, default current\_timestamp}{Laiks, kad dotais spēles notikums tika izveidots/saglabāts datubāzē}
|
||||
\end{entityTable}
|
||||
@ -16,3 +16,4 @@ Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kod
|
||||
\input{./src/design/entities/user.tex}
|
||||
\input{./src/design/entities/game-setup.tex}
|
||||
\input{./src/design/entities/room.tex}
|
||||
\input{./src/design/entities/game-event.tex}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user