feat(Message): add Message table

This commit is contained in:
Kristofers Solo 2023-10-30 18:09:42 +02:00
parent d638a1a043
commit 514937853c
2 changed files with 7 additions and 0 deletions

View File

@ -19,3 +19,4 @@ Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kod
\input{./src/design/entities/game-event.tex}
\input{./src/design/entities/player.tex}
\input{./src/design/entities/paid-subscription.tex}
\input{./src/design/entities/message.tex}

View File

@ -0,0 +1,6 @@
\begin{entityTable}{Iszina}{entity-message}
\entityTableRow{teksts}{text}{not null}{Īsziņas teksts}
\entityTableRow{if\_mafijas_iszina}{bool}{default false, not null}{Vai īsziņas sūtītājs ir mafija?}
\entityTableRow{ir\_izmainita}{bool}{default false, not null}{Vai īsziņas staurs ir izmainīts?}
\entityTableRow{autors}{int8}{not null}{Īsziņas sūtītājs, \texttt{FOREING KEY} uz \hyperref[tab:entity-user]{Lietotajs} tabulas id kolonnu}
\end{entityTable}