]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove duplicate PRIMARY KEY statement
authorNick Douma <n.douma@nekoconeko.nl>
Thu, 18 Jun 2020 11:51:50 +0000 (13:51 +0200)
committerNick Douma <n.douma@nekoconeko.nl>
Thu, 18 Jun 2020 11:51:50 +0000 (13:51 +0200)
docs/backends/generic-postgresql.rst

index c9f27c19a3b5f19116c61fcdd0aa9c58bf34f849..15e0b76b94cafdc4f8bdf20ce15e4f8827377082 100644 (file)
@@ -141,14 +141,14 @@ Given the normal pgsql schema, change the following:
 
   -- Before
   CREATE TABLE domains (
-    id                    SERIAL PRIMARY KEY,
-    ...
+    id SERIAL PRIMARY KEY,
+    --
   }
 
   -- After
   CREATE TABLE domains (
-    id                    INT PRIMARY KEY DEFAULT nextval('domain_id') PRIMARY KEY,
-    ...
+    id INT DEFAULT nextval('domain_id') PRIMARY KEY,
+    --
   );