正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -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) { |
-
请 注册 或 登录 后发表评论