INSERT INTO `role` (`id`, `nazov`, `code`) VALUES ('6', 'Fakturácia', 'fakturacia');
INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('6', '102');
UPDATE `role` SET `nazov`='Fakturant', `code`='fakturant' WHERE  `id`=6 AND `nazov`='Fakturácia' AND `code`='fakturacia' LIMIT 1;
INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('6', '105');
INSERT INTO `permission` (`id`, `nazov`) VALUES ('146', 'uloha_obchodny_partner_all');
UPDATE `permission` SET `nazov`='obchodny_partner_zmluva_view' WHERE  `id`=146 AND `nazov`='uloha_obchodny_partner_all' LIMIT 1;
INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('6', '146');
INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('6', '141');
INSERT INTO `permission` (`id`, `nazov`) VALUES ('147', 'faktura_all');
INSERT INTO `role_permission` (`role_id`, `permission_id`) VALUES ('6', '147');
INSERT INTO `permission` (`id`, `nazov`) VALUES ('148', 'majetok_kosik_view');
DELETE FROM `permission` WHERE  `id`=148 AND `nazov`='majetok_kosik_view' LIMIT 1;