@@ -89,6 +89,22 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_carbon_sources_zones` (
8989 UNIQUE KEY ` unicity` (` plugin_carbon_sources_id` , ` plugin_carbon_zones_id` )
9090) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
9191
92+ CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_computermodels` (
93+ ` id` int unsigned NOT NULL AUTO_INCREMENT,
94+ ` computermodels_id` int unsigned NOT NULL DEFAULT ' 0' ,
95+ ` gwp` int DEFAULT ' 0' COMMENT ' (unit gCO2eq) Global warming potential' ,
96+ ` gwp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
97+ ` gwp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
98+ ` adp` int DEFAULT ' 0' COMMENT ' (unit gSbEq) Abiotic depletion potential' ,
99+ ` adp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
100+ ` adp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
101+ ` pe` int DEFAULT ' 0' COMMENT ' (unit J) Primary energy' ,
102+ ` pe_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
103+ ` pe_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
104+ PRIMARY KEY (` id` ),
105+ UNIQUE KEY ` unicity` (` computermodels_id` )
106+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
107+
92108CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_computertypes` (
93109 ` id` int unsigned NOT NULL AUTO_INCREMENT,
94110 ` computertypes_id` int unsigned NOT NULL DEFAULT ' 0' ,
@@ -139,6 +155,22 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_carbon_environmentalimpacts` (
139155 UNIQUE KEY ` unicity` (` computers_id` )
140156) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
141157
158+ CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_monitormodels` (
159+ ` id` int unsigned NOT NULL AUTO_INCREMENT,
160+ ` monitormodels_id` int unsigned NOT NULL DEFAULT ' 0' ,
161+ ` gwp` int DEFAULT ' 0' COMMENT ' (unit gCO2eq) Global warming potential' ,
162+ ` gwp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
163+ ` gwp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
164+ ` adp` int DEFAULT ' 0' COMMENT ' (unit gSbEq) Abiotic depletion potential' ,
165+ ` adp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
166+ ` adp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
167+ ` pe` int DEFAULT ' 0' COMMENT ' (unit J) Primary energy' ,
168+ ` pe_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
169+ ` pe_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
170+ PRIMARY KEY (` id` ),
171+ UNIQUE KEY ` unicity` (` monitormodels_id` )
172+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
173+
142174CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_monitortypes` (
143175 ` id` int unsigned NOT NULL AUTO_INCREMENT,
144176 ` monitortypes_id` int unsigned NOT NULL DEFAULT ' 0' ,
@@ -148,6 +180,22 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_carbon_monitortypes` (
148180 UNIQUE KEY ` unicity` (` monitortypes_id` )
149181) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
150182
183+ CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_networkequipmentmodels` (
184+ ` id` int unsigned NOT NULL AUTO_INCREMENT,
185+ ` networkequipmentmodels_id` int unsigned NOT NULL DEFAULT ' 0' ,
186+ ` gwp` int DEFAULT ' 0' COMMENT ' (unit gCO2eq) Global warming potential' ,
187+ ` gwp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
188+ ` gwp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
189+ ` adp` int DEFAULT ' 0' COMMENT ' (unit gSbEq) Abiotic depletion potential' ,
190+ ` adp_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
191+ ` adp_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
192+ ` pe` int DEFAULT ' 0' COMMENT ' (unit J) Primary energy' ,
193+ ` pe_source` mediumtext DEFAULT NULL COMMENT ' any information to describe the source, URL preferred' ,
194+ ` pe_quality` int DEFAULT ' 0' COMMENT ' DataTtacking\\ AbstractTracked::DATA_QUALITY_* constants' ,
195+ PRIMARY KEY (` id` ),
196+ UNIQUE KEY ` unicity` (` networkequipmentmodels_id` )
197+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci;
198+
151199CREATE TABLE IF NOT EXISTS ` glpi_plugin_carbon_networkequipmenttypes` (
152200 ` id` int unsigned NOT NULL AUTO_INCREMENT,
153201 ` networkequipmenttypes_id` int unsigned NOT NULL DEFAULT ' 0' ,
0 commit comments