-- default spamfilter_users.policy_id to 0
ALTER TABLE `spamfilter_users` ALTER `policy_id` SET DEFAULT 0;

-- add new dnscontrol_data column to dns_rr
ALTER TABLE `dns_rr` ADD COLUMN `dnscontrol_data` text DEFAULT NULL AFTER `serial`;

-- add new dnscontrol_provider and dnscontrol_provider_type columns to dns_soa
ALTER TABLE `dns_soa` ADD COLUMN `dnscontrol_provider_type` varchar(255) NOT NULL DEFAULT 'none' AFTER `dnssec_info`;
ALTER TABLE `dns_soa` ADD COLUMN `dnscontrol_provider` text DEFAULT NULL AFTER `dnssec_info`;
