START TRANSACTION;

INSERT IGNORE INTO dir_users_rights_groups (usrgr_id, usrgr_parent_id, usrgr_name) VALUES (35, 27, 'Статьи расходов');
INSERT IGNORE INTO dir_users_rights_groups (usrgr_id, usrgr_parent_id, usrgr_name) VALUES (36, 27, 'Статьи доходов');
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10070, 'Добавление', 1, 1, 35);
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10071, 'Редактирование', 1, 2, 35);
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10072, 'Удаление', 1, 3, 35);
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10073, 'Добавление', 1, 1, 36);
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10074, 'Редактирование', 1,  2, 36);
INSERT IGNORE INTO dir_users_rights (usrg_id, usrg_name, usrg_value, usrg_order, usrg_group) VALUES (10075, 'Удаление', 1,  3, 36);

UPDATE sys_info SET si_version = "1.560" WHERE sys_info.si_id = 1;
COMMIT; 

