aa
This commit is contained in:
@@ -546,7 +546,7 @@ function getStructTable($tableName)
|
|||||||
|
|
||||||
function getAllTables()
|
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);
|
$tableNames = array_map('current', $tables);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user