]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
altered postgres schema to match mysql schema 5391/head
authorArsen Stasic <arsen.stasic@gmail.com>
Mon, 12 Jun 2017 12:01:30 +0000 (14:01 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2017 12:01:30 +0000 (14:01 +0200)
mysql uses BIGINT for records id field, with this patch postgres is going to use BIGINT (BIGSERIAL) too

modules/gpgsqlbackend/schema.pgsql.sql

index e14395b3d3704d53b1efc248d27cf39a953c5127..b105d879515488fe7f29c96f14f876abe7810e8b 100644 (file)
@@ -13,7 +13,7 @@ CREATE UNIQUE INDEX name_index ON domains(name);
 
 
 CREATE TABLE records (
-  id                    SERIAL PRIMARY KEY,
+  id                    BIGSERIAL PRIMARY KEY,
   domain_id             INT DEFAULT NULL,
   name                  VARCHAR(255) DEFAULT NULL,
   type                  VARCHAR(10) DEFAULT NULL,