diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 3937209d..b53cbb25 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -527,9 +527,9 @@ function getStructTable($tableName) { $str = ''; - $columns = Schema::getSchemaBuilder()->getColumnListing($tableName); + $columns = Schema::getColumnListing($tableName); - $str .= '
Tabella ' . $tableName . ' : ' . PHP_EOL; + $str .= '
Tabella ' . $tableName . ' :
'; // Stampa la struttura della tabella foreach ($columns as $column) {