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 8e452e0 commit c1ee801
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions upload/admin/controller/extension/report/db_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ public function getReport(): ?object {
foreach ($tables as $table) {
if (in_array($table['name'], $selected)) {
$field_type_data = [];
$filter_data = [];

$fields = $this->model_extension_report_db_schema->getTable($table['name']);

Expand Down Expand Up @@ -242,10 +241,10 @@ public function getReport(): ?object {
}
// Extensions
else {
$data['tables'][$key_data['table'] . '|extension'][] = [
'name' => $key_data['field'],
'previous_type' => $val,
'type' => $val
$data['tables'][$result['TABLE_NAME'] . '|extension'][] = [
'name' => $result['Column_name'],
'previous_type' => $result['COLUMN_TYPE'],
'type' => $result['COLUMN_TYPE']
];
}
}
Expand Down

0 comments on commit c1ee801

Please sign in to comment.