private function updateMigrationStatus($migration, $batch)
    {
        $table = $this->getMigrationTable();

        return $table->where('migration', $migration)->update([
            'migration' => $migration,
            'batch' => $batch
        ]);
    }
private function updateMigrationStatus($migration, $batch)
    {
        $table = $this->getMigrationTable();

        return $table->where('migration', $migration)->update([
            'migration' => $migration,
            'batch' => $batch
        ]);
    }
private function updateMigrationStatus ( $ migration , $ batch ) { $ table = $ this -> getMigrationTable ( ) ; return $ table -> where ( 'migration' , $ migration ) -> update ( [ 'migration' => $ migration , 'batch' => $ batch ] ) ; }
Update migration status

@param string $migration
@param int $batch

@return void
Update migration status