Skip to content

Commit

Permalink
Update db_schema.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent c820898 commit f54c3d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upload/admin/controller/extension/report/db_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,16 @@ public function getReport(): ?object {

foreach ($fields as $result) {
foreach ($table['field'] as $field) {
// Core
if ($field['name'] == $result['Column_name']) {
$data['tables'][$result['TABLE_NAME'] . '|index'][] = [
'name' => $result['Column_name'],
'previous_type' => $result['COLUMN_TYPE'],
'type' => $field['type']
];
} else {
}
// Extensions
else {
$encoded_data = [
'table' => $result['TABLE_NAME'],
'field' => $result['Column_name'],
Expand Down

0 comments on commit f54c3d0

Please sign in to comment.