-- [2025-11-13 19:39:30] Изменение атрибута doctor_id;
REPLACE INTO `_sys_datatypes` (`attr_type`, `attr_templ`, `attr_desc`, `attr_hide`, `attr_mand`, `attr_order`, `_sys_deleted`, `obj_name`, `attr_name`) VALUES ("int12" , "" , "Врач" , "0" , "0" , "100" , "0" , "pnd_doctor_zones" , "doctor_id");
-- [2025-11-13 19:39:30] Изменение атрибута zone_id;
REPLACE INTO `_sys_datatypes` (`attr_type`, `attr_templ`, `attr_desc`, `attr_hide`, `attr_mand`, `attr_order`, `_sys_deleted`, `obj_name`, `attr_name`) VALUES ("int12" , "" , "Зона" , "0" , "0" , "100" , "0" , "pnd_doctor_zones" , "zone_id");
-- [2025-11-13 19:39:41] Удаление атрибута doctor_id;
DELETE FROM `_sys_datatypes` WHERE `obj_name` = 'pnd_doctor_zones' AND `attr_name` = 'doctor_id';
ALTER TABLE `pnd_doctor_zones` DROP `doctor_id`;
-- [2025-11-13 19:39:43] Удаление атрибута zone_id;
DELETE FROM `_sys_datatypes` WHERE `obj_name` = 'pnd_doctor_zones' AND `attr_name` = 'zone_id';
ALTER TABLE `pnd_doctor_zones` DROP `zone_id`;
