/*1*/ ALTER TABLE `zamestnanec`
	ADD COLUMN `archiv` TINYINT(1) NULL AFTER `visibility_type`;
/*2*/ ALTER TABLE `zamestnanec`
	CHANGE COLUMN `archiv` `archiv` TINYINT(1) NULL DEFAULT '0' AFTER `visibility_type`;
/*3*/ INSERT INTO `form_element` (`id`, `form_group_id`, `form_element_type_id`, `db_table`, `db_column`, `column_title`, `position`, `direct_to_db`) VALUES (21009, 21001, 3, 'zamestnanec', 'archiv', 'Zamestnanec v archíve', 50, 1);
/*4*/ UPDATE `form_element` SET `width`=NULL WHERE  `id`=21008;

/*5*/ UPDATE zamestnanec SET archiv = 0 WHERE archiv IS NULL AND visibility_type = 1;