INSERT INTO public."Permission"( "GroupId", "Alias", "NameRU", "NameEN", "SortOrder")
	VALUES (6,'deleteusers', 'Удаление пользователей, подразделений и групп исполнителей', 'Delete users, departments and executor groups', 604);
	
ALTER TABLE IF EXISTS public."Role"
    ADD COLUMN IF NOT EXISTS "AvailableRolesForDelete" text;

update "Permission" set "SortOrder"=603 where "Alias"='viewusers';
update "Permission" set "SortOrder"=604 where "Alias"='editusers';
update "Permission" set "SortOrder"=605 where "Alias"='deleteusers';
update "Permission" set "SortOrder"=603 where "Alias"='showusersall';