Skip to content

Commit dcd8d4c

Browse files
stonebuzztrasher
authored andcommitted
fix(migration): rename column to prevent lost data
1 parent 6841dc4 commit dcd8d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3052,7 +3052,7 @@ function do_computercomputer_migration($migration)
30523052
'bios_manufacturers_id'
30533053
];
30543054

3055-
$a_table['renamefields'] = [];
3055+
$a_table['renamefields']['last_fusioninventory_update'] = 'last_inventory_update';
30563056

30573057
$a_table['keys'] = [];
30583058
$a_table['keys'][] = ['field' => 'computers_id', 'name' => '', 'type' => 'INDEX'];

0 commit comments

Comments
 (0)