glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

fix(migration): handle lost value last_boot, remote_addr #364

Closed stonebuzz closed 1 year ago

stonebuzz commented 1 year ago

Maybe e better solution for https://github.com/glpi-project/glpi-inventory-plugin/pull/362

Some data are lost during migration

Table => Row To Table => row is migrated
glpi_plugin_glpiinventory_inventorycomputercomputers => last_inventory_update => glpi_computers => last_inventory_update :ok:
glpi_plugin_glpiinventory_inventorycomputercomputers => last_boot => glpi_computers => last_boot :x:
glpi_plugin_glpiinventory_agents => last_contact => glpi_agent => last_contact :ok:
glpi_plugin_glpiinventory_agents => remote_addr => glpi_agent => remote_addr :x:

This PR fix this