diff --git a/src/Commands/DBPull.php b/src/Commands/DBPull.php index b887c81..2736363 100644 --- a/src/Commands/DBPull.php +++ b/src/Commands/DBPull.php @@ -303,6 +303,12 @@ public function handle() if (! $this->option('dry-run')) { $this->ssh_table_dump_full($table); } + } elseif ($ssh_table_count === 0) { + $action = ($this->option('dry-run')) ? 'Needs' : 'Pulling'; + $this->info("$action full dump from $table"); + if (! $this->option('dry-run')) { + $this->ssh_table_dump_full($table); + } } }