From dfaa151fb1d33e0a280f6d7ee40e8b0b33d993f2 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 21 May 2021 15:36:54 +0200 Subject: [PATCH] Fix SQL highlighting in pgsql docs --- docs/backends/generic-postgresql.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/backends/generic-postgresql.rst b/docs/backends/generic-postgresql.rst index 61d886a177..18f9b3abf5 100644 --- a/docs/backends/generic-postgresql.rst +++ b/docs/backends/generic-postgresql.rst @@ -136,20 +136,20 @@ Given the normal pgsql schema, change the following: CREATE SEQUENCE key_id MAXVALUE 2147483648; CREATE SEQUENCE tsig_id MAXVALUE 2147483648; -2. Change all SERIAL / BIGSERIAL columns to use the SEQUENCEs. For instance: +2. Change all SERIAL / BIGSERIAL columns to use the SEQUENCEs. For instance, change .. code-block:: SQL - -- Before CREATE TABLE domains ( id SERIAL PRIMARY KEY, - -- - } + ) + +to + +.. code-block:: SQL - -- After CREATE TABLE domains ( id INT DEFAULT nextval('domain_id') PRIMARY KEY, - -- ); -- 2.47.2