|
@@ 88-90 (lines=3) @@
|
| 85 |
|
// Get tables to ignore |
| 86 |
|
$config = config('db-exporter.seeds'); |
| 87 |
|
$ignore_tables = collect([]); |
| 88 |
|
if(!is_null($config) && isset($config['ignore_tables']) && !is_null($config['ignore_tables'])) { |
| 89 |
|
$ignore_tables = collect($config['ignore_tables']); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
$show_tables = collect([]); |
| 93 |
|
if(!is_null($config) && isset($config['use_tables']) && !is_null($config['use_tables'])) { |
|
@@ 93-95 (lines=3) @@
|
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
$show_tables = collect([]); |
| 93 |
|
if(!is_null($config) && isset($config['use_tables']) && !is_null($config['use_tables'])) { |
| 94 |
|
$show_tables = collect($config['use_tables']); |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
// Loop over the tables |
| 98 |
|
foreach ($tables as $key => $value) |