diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 278c8a5d..4307ad0b 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -546,7 +546,7 @@ function getStructTable($tableName) function getAllTables() { - $tables = DB::select('SHOW TABLES'); + $tables = DB::select("SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE'"); $tableNames = array_map('current', $tables);