From: Pieter Lexis Date: Fri, 21 May 2021 13:36:54 +0000 (+0200) Subject: Fix SQL highlighting in pgsql docs X-Git-Tag: auth-4.5.0-beta1~16^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10434%2Fhead;p=thirdparty%2Fpdns.git Fix SQL highlighting in pgsql docs --- 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, - -- );