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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user