
INSERT INTO tbloptions SELECT id, null, 'wo_gate_code_lock_box_code','0',1 FROM tbltenants;
INSERT INTO tbloptions_static VALUES (null,'wo_gate_code_lock_box_code','0',1);

INSERT INTO `tblplan_features` (`name`, `codename`, `description`, `type`, `added_on`) VALUES ('Enable Gate Code and Lock Box Code on Work Order PDF.', 'wo_gate_code_lock_box_code', 'Enable Gate Code and Lock Box Code on Work Order PDF.', 'restrict', NOW());
SET @wo_gate_code_lock_box_code_id = LAST_INSERT_ID();
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('9', @wo_gate_code_lock_box_code_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('10', @wo_gate_code_lock_box_code_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('11', @wo_gate_code_lock_box_code_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('12', @wo_gate_code_lock_box_code_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('15', @wo_gate_code_lock_box_code_id, '0', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('16', @wo_gate_code_lock_box_code_id, '1', UTC_TIMESTAMP());
INSERT INTO `tblplan_features_value` (`plans_id`, `plans_features_id`, `value`, `added_on`) VALUES ('17', @wo_gate_code_lock_box_code_id, '1', UTC_TIMESTAMP());