INSERT INTO `log_type` (`id`, `nazov`, `code`, `primary_table`)
VALUES
	(30, 'Pridanie úlohy z obchodného partnera', 'uloha_obchodny_partner_pridaj', NULL);

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
	(36, 1, 3, 'obchodny_partner', 'archiv', NULL, NULL, 'Obchodný partner v archíve', 30, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

/* 09:29:52 gmspider gmspider */ ALTER TABLE `obchodny_partner` ADD `archiv` TINYINT(1)  NULL  DEFAULT NULL  AFTER `pocet_zamestnancov_id`;
/* 09:29:58 gmspider gmspider */ ALTER TABLE `obchodny_partner` CHANGE `archiv` `archiv` TINYINT(1)  NOT NULL  DEFAULT '0';
