summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/db/models.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index 7e2cc9969f..f984e1b0a5 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -39,7 +39,7 @@ The above ``Person`` model would create a database table like this:
.. code-block:: sql
CREATE TABLE myapp_person (
- "id" serial NOT NULL PRIMARY KEY,
+ "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
"first_name" varchar(30) NOT NULL,
"last_name" varchar(30) NOT NULL
);