1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.

Follow up to 2eea361eff.
This commit is contained in:
Mariusz Felisiak
2022-08-26 21:42:44 +02:00
committed by GitHub
parent 166a3b3263
commit 081871bc20
4 changed files with 17 additions and 13 deletions

View File

@@ -258,7 +258,7 @@ This command should produce the following output:
-- Create model WorldBorder
--
CREATE TABLE "world_worldborder" (
"id" bigserial NOT NULL PRIMARY KEY,
"id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
"name" varchar(50) NOT NULL,
"area" integer NOT NULL,
"pop2005" integer NOT NULL,