public function needsToRun()
    {
        $this->initializeVersions();

        if (empty($this->migratedVersions) && empty($this->availableVersions)) {
            return false;
        }

        $needsToRun = $this->hasUnmigratedVersions();

        return $needsToRun;
    }
public function needsToRun()
    {
        $this->initializeVersions();

        if (empty($this->migratedVersions) && empty($this->availableVersions)) {
            return false;
        }

        $needsToRun = $this->hasUnmigratedVersions();

        return $needsToRun;
    }
public function needsToRun ( ) { $ this -> initializeVersions ( ) ; if ( empty ( $ this -> migratedVersions ) && empty ( $ this -> availableVersions ) ) { return false ; } $ needsToRun = $ this -> hasUnmigratedVersions ( ) ; return $ needsToRun ; }
Flags if migrations need to be executed

@return bool
Flags if migrations need to be executed