mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
Follow up to 2eea361eff
.
This commit is contained in:
parent
166a3b3263
commit
081871bc20
4 changed files with 17 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue