Skip to content

Commit

Permalink
Add unique constraint to database diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mcttn22 committed Dec 14, 2023
1 parent a9c1615 commit 25231f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file modified project-report/project-report.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions project-report/src/latex/design.tex
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ \subsection{Database Design}
\includegraphics[width=1\textwidth]{./project-report/src/images/database-design.png}
\end{figure}

\begin{itemize}
\item I will also use the following unique constraint, so that each dataset can not have more than one model with the same name:
\begin{minted}{sql}
UNIQUE (Dataset, Name)
\end{minted}
\end{itemize}

\subsection{Queries}

Here are some example queries for interacting with the database:
Expand Down

0 comments on commit 25231f5

Please sign in to comment.