ALTER TABLE `zmluva`
	ADD COLUMN `edicia` INT NULL AFTER `datum_ukoncenia`;

INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `db_multi_table`, `db_multivalue_table`, `column_title`, `position`, `attribute`, `width`, `height`, `help`, `example`, `direct_to_db`, `required`, `number`, `float_number`, `email`, `css_style`, `css_class`, `javascript`, `direct_multi_label`, `direct_multi_data`, `default_val`, `vdaemon`, `add_empty_option`, `html`, `lang_code`, `read_only`) VALUES (114, 11, 1, 'zmluva', 'edicia', NULL, NULL, 'Edícia', 15, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
UPDATE `form_element` SET `default_val`='1' WHERE  `id`=114;

UPDATE zmluva SET edicia = 1 WHERE edicia IS NULL;
UPDATE `form_element` SET `required`='1' WHERE  `id`=114;
