/*1*/ INSERT INTO `menu` (`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES (146, 119, 'Záznmy k smernici', 'smernica_zaznam_vypis', 40, 3, 1);
/*2*/ UPDATE `menu` SET `nazov`='Záznamy k smernici' WHERE  `id`=146;
/*3*/ UPDATE `smernica` SET `stav_smernice_id`=2 WHERE  `id`=5;
/*4*/ UPDATE `smernica` SET `stav_smernice_id`=1 WHERE  `id`=5;
/*5*/ UPDATE `smernica` SET `stav_smernice_id`=1 WHERE  `id`=5;
/*6*/ UPDATE `menu` SET `poradie`=40 WHERE  `id`=142;
/*7*/ UPDATE `menu` SET `poradie`=30 WHERE  `id`=146;
/*8*/ UPDATE `menu` SET `poradie`=40 WHERE  `id`=146;
/*9*/ UPDATE `menu` SET `poradie`=50 WHERE  `id`=142;
/*10*/ ALTER TABLE `uloha`
	ADD COLUMN `smernica_id` INT(11) UNSIGNED NULL DEFAULT NULL AFTER `zobrazit_u_zakaznika`;
/*11*/ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `column_title`, `position`, `example`, `direct_to_db`, `css_class`, `direct_multi_label`, `add_empty_option`) VALUES (33016, 33001, 5, 'uloha', 'smernica_id', 'smernica', 'Smernica', 30, 'po uzavretí úlohy sa záznamy priradia k zadanej smernici', 1, 'select2', 1, 1);
/*12*/ UPDATE `form_element` SET `required`=NULL WHERE  `id`=35004;