From e769bff44a43a7a1180244d264e8938fd16c3ca9 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 18 Jul 2024 15:41:39 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {