ALTER TABLE `site_plugin_redirects` ADD `redirect_destination_type` INT(1) NOT NULL AFTER `redirect_code`;
ALTER TABLE `site_plugin_redirects` ADD `redirect_destination_module` INT(11) NOT NULL AFTER `redirect_destination`;
ALTER TABLE `site_plugin_redirects` ADD `redirect_destination_global` INT(11) NOT NULL AFTER `redirect_destination_module`;
UPDATE `site_plugin_redirects` SET `redirect_destination_type`=1;