/* 20:58:02 gmspider gmspider */ ALTER TABLE `kalendar_udalost` ADD `uloha_id` INT(10)  UNSIGNED  NULL  DEFAULT NULL  AFTER `typ_kalendar_udalost_id`;
/* 21:16:51 gmspider gmspider */ INSERT INTO `log_type` (`id`, `nazov`, `code`, `primary_table`) VALUES ('33103', 'Pridanie udalost z úlohy', 'uloha_opakovanie_zmaz', 'uloha_opakovanie');
/* 21:17:10 gmspider gmspider */ UPDATE `log_type` SET `id` = '37003', `code` = 'kalendar_udalost_uloha_pridaj', `primary_table` = 'kalendar_udalost' WHERE `id` = '33103';
/* 22:06:52 gmspider gmspider */ INSERT INTO `priradenie_suboru` (`id`, `nazov`, `code`) VALUES ('260', 'Obchodný partner', 'obchodny_partner');
/* 22:07:51 gmspider gmspider */ INSERT INTO `menu` (`id`, `menu_id`, `nazov`, `page`, `poradie`, `level`, `visibility_type`) VALUES ('26006', '26001', 'Súbory obchodného partnera', 'obchodny_partner_subor', '40', '3', '1');
/* 22:23:25 gmspider gmspider */ CREATE TABLE `rozsireny_typ_suboru` (   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,   `nazov` varchar(255) DEFAULT NULL,   `code` varchar(50) DEFAULT NULL,   PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=32;
/* 22:23:37 gmspider gmspider */ CREATE TABLE `subor_rozsireny_typ_suboru` (   `subor_id` int(10) unsigned NOT NULL,   `rozsireny_typ_suboru_id` int(10) unsigned NOT NULL,   PRIMARY KEY (`subor_id`,`rozsireny_typ_suboru_id`),   KEY `subor_has_rozsireny_typ_suboru_FKIndex1` (`subor_id`),   KEY `subor_has_rozsireny_typ_suboru_FKIndex2` (`rozsireny_typ_suboru_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/* 22:23:56 gmspider gmspider */ INSERT INTO `rozsireny_typ_suboru` (`id`, `nazov`, `code`) VALUES ('1', 'Zmluva', 'zmluva');
/* 22:24:04 gmspider gmspider */ INSERT INTO `rozsireny_typ_suboru` (`id`, `nazov`, `code`) VALUES ('2', 'Analýza', 'analyza');
/* 22:24:10 gmspider gmspider */ INSERT INTO `rozsireny_typ_suboru` (`id`, `nazov`, `code`) VALUES ('3', 'Objednávka', 'objednavka');
/* 22:36:15 gmspider gmspider */ ALTER TABLE `subor` ADD `datum_vytvorenia` DATETIME  NULL  AFTER `visibility_type`;
/* 22:38:26 gmspider gmspider */ ALTER TABLE `subor` ADD `zamestnanec_id` INT(11)  UNSIGNED  NULL  DEFAULT NULL  AFTER `datum_vytvorenia`;
/* 22:53:00 gmspider gmspider */ INSERT INTO `subor_rozsireny_typ_suboru` (`subor_id`, `rozsireny_typ_suboru_id`) VALUES ('124', '1');
/* 22:53:02 gmspider gmspider */ INSERT INTO `subor_rozsireny_typ_suboru` (`subor_id`, `rozsireny_typ_suboru_id`) VALUES ('124', '2');
/* 22:53:03 gmspider gmspider */ INSERT INTO `subor_rozsireny_typ_suboru` (`subor_id`, `rozsireny_typ_suboru_id`) VALUES ('124', '3');
