-- [2025-11-13 16:15:04] Создание атрибута;
CREATE TABLE IF NOT EXISTS `pnd_zones` (	`id` INT(12) NOT NULL AUTO_INCREMENT PRIMARY KEY )  ENGINE = InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
ALTER TABLE `pnd_zones` ADD `external_zone_id` int(12) NOT NULL;
REPLACE INTO `_sys_datatypes` (`obj_name`, `attr_name`,`attr_type`,`attr_desc`,`attr_templ`,`attr_order`) VALUES ("pnd_zones","external_zone_id","int12","","","100");
-- [2025-11-13 16:15:19] Создание атрибута;
CREATE TABLE IF NOT EXISTS `pnd_zones` (	`id` INT(12) NOT NULL AUTO_INCREMENT PRIMARY KEY )  ENGINE = InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
ALTER TABLE `pnd_zones` ADD `title` varchar(255) NOT NULL;
REPLACE INTO `_sys_datatypes` (`obj_name`, `attr_name`,`attr_type`,`attr_desc`,`attr_templ`,`attr_order`) VALUES ("pnd_zones","title","input","","","100");
-- [2025-11-13 16:15:39] Изменение атрибута external_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" , "" , "Внешний ID зоны" , "0" , "0" , "100" , "0" , "pnd_zones" , "external_zone_id");
-- [2025-11-13 16:15:39] Изменение атрибута title;
REPLACE INTO `_sys_datatypes` (`attr_type`, `attr_templ`, `attr_desc`, `attr_hide`, `attr_mand`, `attr_order`, `_sys_deleted`, `obj_name`, `attr_name`) VALUES ("input" , "" , "Название зоны" , "0" , "0" , "100" , "0" , "pnd_zones" , "title");
