I've created a small script in PHP so it is easier to prepare for dnssec
with PowerDNS AUTH 3.0 (MySQL backend).
Extra column ("changed", default value 0) in the "domains" table 
PHP without passthru disabled
PHP MySQLi available
Changing the configuration parameters (at the top). When changing away from
2.9.x this script can also be used to do a rectify-zone on all domain names
by setting changed to 1. A working SQL query for this is included with the
script (at the bottom).
 SQL query: ALTER TABLE `domains` ADD `changed` INT( 5 ) NOT NULL
Questions? Feel free to email me directly if there are questions regarding
This script is provided as-is, changing/redistributing/etc. are allowed.