mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-10-09 05:46:20 +02:00
[DMDB] Fix errors
This commit is contained in:
1 parent
1c1eff5d59
commit
55030a0d0a
8 files changed
+30
-18
No files matched your search
@@ -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