File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,8 @@ function plugin_addressing_uninstall() {
154154 $ tables = ["glpi_plugin_addressing_addressings " ,
155155 "glpi_plugin_addressing_configs " ,
156156 "glpi_plugin_addressing_filters " ,
157- "glpi_plugin_addressing_pinginfos " ];
157+ "glpi_plugin_addressing_pinginfos " ,
158+ "glpi_plugin_addressing_ipcomments " ];
158159
159160 foreach ($ tables as $ table ) {
160161 $ migration ->dropTable ($ table );
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ CREATE TABLE `glpi_plugin_addressing_pinginfos`
22(
33 ` id` int (11 ) NOT NULL auto_increment,
44 ` plugin_addressing_addressings_id` int (11 ) NOT NULL default ' 0' ,
5- ` ipname` varchar (255 ) collate utf8_unicode_ci default NULL ,
5+ ` ipname` varchar (255 ) collate utf8mb4_unicode_ci default NULL ,
66 ` ping_response` tinyint (1 ) NOT NULL default ' 0' ,
77 ` ping_date` datetime DEFAULT NULL ,
88 ` items_id` int (11 ) NOT NULL default ' 0' COMMENT ' RELATION to various tables, according to itemtype (id)' ,
9- ` itemtype` varchar (100 ) collate utf8_unicode_ci COMMENT ' see .class.php file' ,
9+ ` itemtype` varchar (100 ) collate utf8mb4_unicode_ci COMMENT ' see .class.php file' ,
1010 PRIMARY KEY (` id` ),
1111 KEY ` plugin_addressing_addressings_id` (` plugin_addressing_addressings_id` ),
1212 KEY ` ipname` (` ipname` ),
1313 KEY ` ping_response` (` ping_response` ),
1414 KEY ` ping_date` (` ping_date` )
15- ) ENGINE= InnoDB DEFAULT CHARSET= utf8 COLLATE= utf8_unicode_ci ;
15+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC ;
You can’t perform that action at this time.
0 commit comments