This applies to PDNS Authoritative server using the MySQL backend.
When upgrading PDNS Authoritative server to 4.7+, the database back-end schema does not get updated with newly required columns. Use the following commands to add the required columns/parameters.
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;
CREATE INDEX catalog_idx ON domains(catalog);