UPDATE  `fisicatecnica`.`items` SET  `description` =  'Facoltà e Dipartimenti' WHERE  `items`.`id` =4;

UPDATE  `fisicatecnica`.`items` SET  `flag_active` =  '0' WHERE  `items`.`id` =5;

UPDATE  `fisicatecnica`.`items` SET  `flag_active` =  '0' WHERE  `items`.`id` =6;

INSERT INTO `items` (`id`, `description`, `icon`, `module_id`, `folder_id`, `jsoptions`, `order`, `flag_active`, `flag_exclusive`, `level`) VALUES
(10, 'Docenti', NULL, 1, 6, NULL, 23, 1, 0, 50);

UPDATE  `fisicatecnica`.`menu_folders` SET  `description` =  'Gestione' WHERE  `menu_folders`.`id` =6;

INSERT INTO  `fisicatecnica`.`jsfiles` (
`id` ,
`plugin` ,
`jsfile` ,
`jsmodule` ,
`jsfunction`
)
VALUES (
NULL , NULL ,  'manage_teachers',  'ManageTeachers',  'init'
), (
NULL , NULL ,  'edit_teacher',  'EditTeacher',  'init'
);

INSERT INTO  `fisicatecnica`.`items_jsfiles` (
`id` ,
`jsfile_id` ,
`item_id` ,
`flag_main`
)
VALUES (
NULL ,  '9',  '10',  '1'
), (
NULL ,  '10',  '10',  '0'
);

UPDATE  `fisicatecnica`.`items` SET  `level` =  '70' WHERE  `items`.`id` =4;

INSERT INTO  `fisicatecnica`.`permissions` (
`id` ,
`module` ,
`controller` ,
`action` ,
`row` ,
`flag_exclusive` ,
`level` ,
`created` ,
`modified`
)
VALUES (
NULL ,  'Base',  'teachers',  '*',  'base:teachers:*',  '0',  '50', NOW( ) , NOW( )
);

DELETE FROM `fisicatecnica`.`user_groups` WHERE `user_groups`.`id` = 5;

/*** FATTO ***/