* Fix rank importing with PIREP pay #443 * Import ledger information #443 * Uncomment out testing importers * Import expense log and settings #443 * Formatting
This commit is contained in:
@@ -72,6 +72,12 @@ abstract class BaseImporter implements ShouldQueue
|
||||
{
|
||||
$manifest = [];
|
||||
|
||||
// Ensure that the table exists; if it doesn't skip it from the manifest
|
||||
if (!$this->db->tableExists($this->table)) {
|
||||
Log::info('Table '.$this->table.' doesn\'t exist');
|
||||
return [];
|
||||
}
|
||||
|
||||
$start = 0;
|
||||
$total_rows = $this->db->getTotalRows($this->table);
|
||||
Log::info('Found '.$total_rows.' rows for '.$this->table);
|
||||
|
||||
Reference in New Issue
Block a user