作者 lyh

gx

@@ -607,8 +607,6 @@ class ProjectLogic extends BaseLogic @@ -607,8 +607,6 @@ class ProjectLogic extends BaseLogic
607 $database_name = DB::connection('custom_tmp_mysql_copy')->getDatabaseName(); 607 $database_name = DB::connection('custom_tmp_mysql_copy')->getDatabaseName();
608 $table = Schema::connection('custom_tmp_mysql_copy')->getAllTables(); 608 $table = Schema::connection('custom_tmp_mysql_copy')->getAllTables();
609 $table = array_column($table, 'Tables_in_' . $database_name); 609 $table = array_column($table, 'Tables_in_' . $database_name);
610 - var_dump($table);  
611 - die();  
612 foreach ($table as $v) { 610 foreach ($table as $v) {
613 $has_table = Schema::connection('custom_mysql')->hasTable($v); 611 $has_table = Schema::connection('custom_mysql')->hasTable($v);
614 if ($has_table) { 612 if ($has_table) {