diff --git a/Mafia-the-Game.tex b/Mafia-the-Game.tex index 079543e..5522713 100644 --- a/Mafia-the-Game.tex +++ b/Mafia-the-Game.tex @@ -130,6 +130,7 @@ \input{./src/legends.tex} \input{./src/description/index.tex} \input{./src/requirements/index.tex} +\input{./src/design/index.tex} % \input{./src/test.tex} \end{document} diff --git a/src/design/entities/index.tex b/src/design/entities/index.tex new file mode 100644 index 0000000..ae7242d --- /dev/null +++ b/src/design/entities/index.tex @@ -0,0 +1,3 @@ +\subsection{Datu bāzes tabulu apraksts} +Datubāzes tabulu lauku, datu tipi, lauka atribūti - obligātums, noklusētās vērtības, primārā atslēga, unikalitāte - ir aprakstītas atsevišķās tabulās (skat. x.1, x.2, … , x.n tab. % TODO: add all table references). +Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kodējums. diff --git a/src/design/index.tex b/src/design/index.tex new file mode 100644 index 0000000..afcec3b --- /dev/null +++ b/src/design/index.tex @@ -0,0 +1,4 @@ +\section{Programmatūras projektējuma apraksts} +\subsection{Datu bāzes projektējums} +\input{./src/design/logical-description.tex} +\input{./src/design/entities/index.tex} diff --git a/src/design/logical-description.tex b/src/design/logical-description.tex new file mode 100644 index 0000000..2ef5d6e --- /dev/null +++ b/src/design/logical-description.tex @@ -0,0 +1,7 @@ +\subsection{Datu bāzes loģiskais ER modelis} +\begin{figure}[htbp] + \centering + \includegraphics[width=\linewidth]{./src/img/KonceptualaisERModelis.png} % TODO: replace with correct picture + \caption{Datu bāzes loģiskais ER modelis} + \label{fig:logical-model} +\end{figure}