/*4*/ UPDATE `form_element` SET `read_only`=1 WHERE  `id`=3;
/*8*/ UPDATE `form_element` SET `form_group_id`=2 WHERE  `id`=6;
/*9*/ UPDATE `form_element` SET `direct_to_db`=NULL, `required`=NULL WHERE  `id`=3;
/*10*/ UPDATE `form_element` SET `vdaemon`='<vlvalidator name="customObchodnyPartnerTypSluzby" type="custom" function="vdaemonObchodnyPartnerTypSluzby" />' WHERE  `id`=5;
/*18*/ UPDATE `menu` SET `page`='obchodny_partner_typ_sluzby_edituj' WHERE  `id`=103;
/*19*/ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `column_title`, `position`, `direct_to_db`, `css_class`, `direct_multi_label`, `direct_multi_data`) VALUES (7, 21001, 5, 'zamestnanec', 'obchodny_partner_id', 'obchodny_partner', 'Obchodný partner', 80, 1, 'select2', 1, 1);
/*20*/ CREATE TABLE `zamestnanec_obchodny_partner` (
	`zamestnanec_id` INT(11) UNSIGNED NOT NULL,
	`obchodny_partner_id` INT(10) UNSIGNED NOT NULL,
	PRIMARY KEY (`zamestnanec_id`, `obchodny_partner_id`),
	INDEX `obchodny_partner_id` (`obchodny_partner_id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
;

/*21*/ UPDATE `form_element` SET `direct_multi_data`=NULL WHERE  `id`=7;
/*22*/ INSERT INTO `form_group` (`id`, `form_id`, `nazov`, `code`, `position`) VALUES (3, 210, 'Priradení obchodní partneri', 'zamestnanec_obchodny_partner', 25);
/*23*/ UPDATE `form_element` SET `form_group_id`=3002 WHERE  `id`=7;
/*24*/ UPDATE `form_element` SET `form_group_id`=3 WHERE  `id`=7;
/*25*/ UPDATE `form_element` SET `form_element_type_id`=9, `attribute`='multiple="true"', `direct_multi_data`=1 WHERE  `id`=7;
