From: Arsen Stasic Date: Mon, 12 Jun 2017 12:01:30 +0000 (+0200) Subject: altered postgres schema to match mysql schema X-Git-Tag: rec-4.1.0-alpha1~18^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5391%2Fhead;p=thirdparty%2Fpdns.git altered postgres schema to match mysql schema mysql uses BIGINT for records id field, with this patch postgres is going to use BIGINT (BIGSERIAL) too --- diff --git a/modules/gpgsqlbackend/schema.pgsql.sql b/modules/gpgsqlbackend/schema.pgsql.sql index e14395b3d3..b105d87951 100644 --- a/modules/gpgsqlbackend/schema.pgsql.sql +++ b/modules/gpgsqlbackend/schema.pgsql.sql @@ -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,