INSERT INTO tbloptions SELECT id, null, 'estimate_generate_unschedule_job_on_client_accept',0,1 FROM tbltenants;
INSERT INTO tbloptions_static (name, value, autoload) VALUES('estimate_generate_unschedule_job_on_client_accept', 0, 1);

INSERT INTO `tblplan_features` (`name`, `codename`, `description`, `type`, `added_on`) VALUES ('Allow To Generate Unschedule Job On Client Accept', 'allow_generate_unschedule_job_on_client_accept', 'Allow To Generate Unschedule Job On Client Accept', 'restrict', NOW());
SET @generate_unschedule_job = LAST_INSERT_ID();
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('9', @generate_unschedule_job, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('10', @generate_unschedule_job, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('11', @generate_unschedule_job, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('12', @generate_unschedule_job, '1', UTC_TIMESTAMP());