public static function computeDiff(Database $fromDatabase, Database $toDatabase, $caseInsensitive = false)
    {
        $dc = new self();
        $dc->setFromDatabase($fromDatabase);
        $dc->setToDatabase($toDatabase);
        $differences = 0;
        $differences += $dc->compareTables($caseInsensitive);

        return ($differences > 0) ? $dc->getDatabaseDiff() : false;
    }
public static function computeDiff(Database $fromDatabase, Database $toDatabase, $caseInsensitive = false)
    {
        $dc = new self();
        $dc->setFromDatabase($fromDatabase);
        $dc->setToDatabase($toDatabase);
        $differences = 0;
        $differences += $dc->compareTables($caseInsensitive);

        return ($differences > 0) ? $dc->getDatabaseDiff() : false;
    }
public static function computeDiff ( Database $ fromDatabase , Database $ toDatabase , $ caseInsensitive = false ) { $ dc = new self ( ) ; $ dc -> setFromDatabase ( $ fromDatabase ) ; $ dc -> setToDatabase ( $ toDatabase ) ; $ differences = 0 ; $ differences += $ dc -> compareTables ( $ caseInsensitive ) ; return ( $ differences > 0 ) ? $ dc -> getDatabaseDiff ( ) : false ; }
Compute and return the difference between two database objects

@param Database $fromDatabase
@param Database $toDatabase
@param boolean  $caseInsensitive Whether the comparison is case insensitive.
False by default.

@return PropelDatabaseDiff|boolean return false if the two databases are similar
Compute and return the difference between two database objects