INSERT INTO `stav_zmluvy` (`id`, `nazov`, `popis`, `code`) VALUES (5, 'Pozastavená', NULL, 'pozastavena');

/*100*/ ALTER TABLE `zmluva`
    ADD COLUMN `datum_pozastavenia` DATE NULL DEFAULT NULL AFTER `datum_ukoncenia`;

/*107*/ ALTER TABLE `zmluva`
    CHANGE COLUMN `datum_pozastavenia` `datum_pozastavenia_od` DATE NULL DEFAULT NULL AFTER `datum_ukoncenia`,
    ADD COLUMN `datum_pozastavenia_do` DATE NULL DEFAULT NULL AFTER `datum_pozastavenia_od`;

/*101*/ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `column_title`, `position`, `direct_to_db`) VALUES ('149', '11', '4', 'zmluva', 'datum_pozastavenia', 'Dátum pozastavenia', '130', '1');
/*102*/ UPDATE `form_element` SET `db_column`='datum_pozastavenia_od', `column_title`='Dátum pozastavenia od' WHERE  `id`=149;
/*103*/ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `column_title`, `position`, `direct_to_db`) VALUES ('150', '11', '4', 'zmluva', 'datum_pozastavenia_do', 'Dátum pozastavenia do', '140', '1');
/*104*/ UPDATE `form_element` SET `position`='150' WHERE  `id`=113;
/*108*/ UPDATE `form_element` SET `direct_to_db`='0' WHERE  `id`=149;
/*109*/ UPDATE `form_element` SET `direct_to_db`='0' WHERE  `id`=150;