/* 10:10:02 gmspider gmspider */ UPDATE `form_element` SET `column_title` = 'Posielať notifkácie z článkov' WHERE `id` = '46';
/* 10:30:28 gmspider gmspider */ UPDATE `menu` SET `nazov` = 'Hromadný mail' WHERE `id` = '5001';
/* 10:30:36 gmspider gmspider */ UPDATE `menu` SET `menu_id` = '1999' WHERE `id` = '5001';
/* 10:30:40 gmspider gmspider */ UPDATE `menu` SET `menu_id` = '1999' WHERE `id` = '5002';
/* 10:30:43 gmspider gmspider */ DELETE FROM `menu` WHERE `id` IN ('5000');
/* 10:30:58 gmspider gmspider */ UPDATE `menu` SET `visibility_type` = '0' WHERE `id` = '5002';
/* 10:31:00 gmspider gmspider */ UPDATE `menu` SET `poradie` = '30' WHERE `id` = '5001';

/* 15:56:23 gmspider gmspider */ ALTER TABLE `mail_osoba` DROP FOREIGN KEY `fk_mail_osoba_osoba1`;
/* 15:56:23 gmspider gmspider */ ALTER TABLE `mail_osoba` DROP INDEX `fk_mail_osoba_osoba1_idx`;
/* 15:56:29 gmspider gmspider */ ALTER TABLE `mail_osoba` CHANGE `osoba_id` `primary_id` INT(11)  UNSIGNED  NOT NULL;
/* 15:45:50 gmspider gmspider */ DELETE FROM `form_element` WHERE `id` IN ('5005','5006');

/* 17:36:55 gmspider gmspider */ INSERT INTO `permission` (`id`, `nazov`) VALUES ('180', 'mail_all');
/* 17:37:01 gmspider gmspider */ INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('3', '180');
/* 17:37:21 gmspider gmspider */ INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('5', '180');
/* 17:39:17 gmspider gmspider */ UPDATE `form_element` SET `add_empty_option` = NULL WHERE `id` = '5003';

/* 09:20:50 gmspider gmspider */ 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 ('5007', '5001', '5', 'mail', 'zamestnanec', NULL, NULL, 'Vytvoril', '30', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
/* 09:21:57 gmspider gmspider */ UPDATE `form_element` SET `db_column` = 'vytvoril_id', `db_multi_table` = 'zamestnanec' WHERE `id` = '5007';
/* 09:20:52 gmspider gmspider */ UPDATE `form_element` SET `position` = '40' WHERE `id` = '5000';
/* 09:20:53 gmspider gmspider */ UPDATE `form_element` SET `position` = '50' WHERE `id` = '5001';
/* 09:21:25 gmspider gmspider */ UPDATE `form_element` SET `direct_to_db` = NULL, `required` = NULL, `email` = NULL, `direct_multi_label` = '1', `default_val` = NULL, `read_only` = '1' WHERE `id` = '5007';

/* 09:27:24 gmspider gmspider */ UPDATE `form_element` SET `default_val` = NULL WHERE `id` = '5004';
/* 09:27:26 gmspider gmspider */ UPDATE `form_element` SET `default_val` = NULL WHERE `id` = '5002';
/* 09:33:07 gmspider gmspider */ UPDATE `zamestnanec` SET `email` = 'design@csweb.sk' WHERE `id` = '1';
/* 09:19:25 gmspider gmspider */ ALTER TABLE `mail` ADD `vytvoril_id` INT(11)  NULL  DEFAULT NULL  AFTER `reply_to`;