mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
feat(Image): add Image table
This commit is contained in:
parent
06c9bc4394
commit
325776f93c
4
src/design/entities/image.tex
Normal file
4
src/design/entities/image.tex
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
\begin{entityTable}{Attels}{entity-image}
|
||||||
|
\entityTableRow{datnes\_adrese}{varchar(255)}{unique, not null}{Saglabātā attēla adrese operētājsistēmā}
|
||||||
|
\entityTableRow{pievienosanas\_laiks}{timestamp}{default current\_timestamp, not null}{Laiks, kad tika izveidots/saglabāts dotais attēls datubāzē}
|
||||||
|
\end{entityTable}
|
||||||
@ -5,3 +5,4 @@ Visām tabulām, \texttt{VARCHAR} un \texttt{TEXT} laukiem tiek lietots UTF8 kod
|
|||||||
|
|
||||||
\input{./src/design/entities/role-action.tex}
|
\input{./src/design/entities/role-action.tex}
|
||||||
\input{./src/design/entities/role-disadvantage.tex}
|
\input{./src/design/entities/role-disadvantage.tex}
|
||||||
|
\input{./src/design/entities/image.tex}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ CREATE TABLE
|
|||||||
CREATE TABLE
|
CREATE TABLE
|
||||||
"Attels" (
|
"Attels" (
|
||||||
"id" SERIAL8 PRIMARY KEY NOT NULL,
|
"id" SERIAL8 PRIMARY KEY NOT NULL,
|
||||||
"datnes_adrese" VARCHAR(255) UNIQUE,
|
"datnes_adrese" VARCHAR(255) UNIQUE NOT NULL,
|
||||||
"pievienosanas_laiks" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
"pievienosanas_laiks" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user