      --
      -- Create model Choice
      --
      CREATE TABLE "polls_choice" (
          "id" serial NOT NULL PRIMARY KEY,
          "choice_text" varchar(200) NOT NULL,
          "votes" integer NOT NULL,
          "question_id" integer NOT NULL
      );
      ALTER TABLE "polls_choice"
 
</s> remove         "question_id" integer NOT NULL
 </s> add         "question_id" bigint NOT NULL </s> remove         "id" serial NOT NULL PRIMARY KEY,
 </s> add         "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, </s> remove         "id" bigserial NOT NULL PRIMARY KEY,
 </s> add         "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, </s> remove         "id" serial NOT NULL PRIMARY KEY,
 </s> add         "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, </s> remove   such as ``auto_increment`` (MySQL), ``serial`` (PostgreSQL), or ``integer
  primary key autoincrement`` (SQLite) are handled for you automatically. Same
  goes for the quoting of field names -- e.g., using double quotes or
  single quotes.
 </s> add   such as ``auto_increment`` (MySQL), ``bigint PRIMARY KEY GENERATED BY DEFAULT
  AS IDENTITY`` (PostgreSQL), or ``integer primary key autoincrement`` (SQLite)
  are handled for you automatically. Same goes for the quoting of field names
  -- e.g., using double quotes or single quotes.
        "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
      --
      -- Create model Choice
      --
      CREATE TABLE "polls_choice" (
        "id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
          "choice_text" varchar(200) NOT NULL,
          "votes" integer NOT NULL,
          "question_id" integer NOT NULL
      );
      ALTER TABLE "polls_choice"
keep keep keep keep replace keep keep keep keep keep
 Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.

Follow up to 2eea361eff58dd98c409c5227064b901f41bd0d6. 
docs/intro/tutorial02.txt