public function forgetMigration($index)
    {
        if (($current = $this->migrations[$index]) !== null) {
            $this->deleteFile($current->path);
            unset($this->migrations[$index]);
        }
    }
public function forgetMigration($index)
    {
        if (($current = $this->migrations[$index]) !== null) {
            $this->deleteFile($current->path);
            unset($this->migrations[$index]);
        }
    }
public function forgetMigration ( $ index ) { if ( ( $ current = $ this -> migrations [ $ index ] ) !== null ) { $ this -> deleteFile ( $ current -> path ) ; unset ( $ this -> migrations [ $ index ] ) ; } }
Deletes a migration by index

@param string $name

@return void
Deletes a migration by index