ALTER TABLE `request_parent` ADD `sequence` TINYINT NOT NULL DEFAULT '0' AFTER `repeat_start`;
ALTER TABLE `request_parent` ADD `hide_subrequest` TINYINT NOT NULL DEFAULT '0' AFTER `sequence`;
ALTER TABLE `calendar` ADD `parent` INT NULL AFTER `shares`;
ALTER TABLE `calendar` ADD CONSTRAINT `calendar_ibfk_7` FOREIGN KEY (`parent`) REFERENCES `request_parent`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
