1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[4.1.x] Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.

Follow up to 2eea361eff.
Backport of 081871bc20 from main
This commit is contained in:
Mariusz Felisiak
2022-08-26 21:42:44 +02:00
parent 7d5ccbbe1a
commit 0890719402
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,