mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-09-10 19:15:25 +02:00
[DMDB] Fix errors
This commit is contained in:
@@ -27,7 +27,7 @@ Since the primary key must be unique for each entry, it may be useful to configu
|
||||
|
||||
\inputcodewithfilename{sql}{}{code/sql/ddl/create.sql}
|
||||
|
||||
Note that PostgreSQL doesn't support \texttt{AUTO\_INCREMENT} constraints, instead use the \texttt{SERIAL} (or \texttt{BIGSERIAL} type)
|
||||
Note that PostgreSQL doesn't support \texttt{AUTO\_INCREMENT} constraints, instead use the \texttt{SERIAL} (or \texttt{BIGSERIAL}) type
|
||||
|
||||
|
||||
% TODO: Make sure all the sql statements actually execute in pgsql
|
||||
@@ -37,6 +37,8 @@ Be aware that if we ADD a column to the schema, unless a default value is provid
|
||||
|
||||
\inputcodewithfilename{sql}{}{code/sql/ddl/alter.sql}
|
||||
|
||||
Instead of a \texttt{ADD COLUMN} or \texttt{DROP COLUMN}, we can also use \texttt{ADD CONSTRAINT} and \texttt{DROP CONSTRAINT} to update constraints
|
||||
|
||||
|
||||
\subsubsection{Deleting Tables}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user