/*1*/ ALTER TABLE `dokument`
	DROP COLUMN `obchodny_partner_id`;
/*2*/ DELETE FROM `form_element` WHERE  `id`=39;
/*3*/ 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`, `direct_multi_label`, `read_only`) VALUES (42, 35000, 5, 'dokument', 'smernica_id', 'smernica', 'Smernica', 45, 0, 1, 1);
/*4*/ UPDATE `form_element` SET `position`=45 WHERE  `id`=33;
/*5*/ DELETE FROM `menu` WHERE  `id`=106;
/*6*/ DELETE FROM `menu` WHERE  `id`=112;
/*7*/ UPDATE `menu` SET `nazov`='Výpis vzorových smerníc' WHERE  `id`=107;
/*8*/ UPDATE `menu` SET `nazov`='Pridaj vzorovú smernicu' WHERE  `id`=108;
/*9*/ ALTER TABLE `smernica`
	CHANGE COLUMN `stav_smernice_id` `stav_smernice_id` INT(11) UNSIGNED NULL DEFAULT '1' AFTER `nazov_u_zakaznika`;
/*10*/ INSERT INTO `menu` (`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES (141, 107, 'Dokumenty k vzorovej smernici', 'vzorova_smernica_dokument', 30, 3, 1);