public function getStructureDifferences($db, $drop = false)
    {
        $diff = new DBStructure();
        $excepted = $diff->getDefinition($this);
        return $diff->getStructureDifferences($db, $excepted, $drop);
    }
public function getStructureDifferences($db, $drop = false)
    {
        $diff = new DBStructure();
        $excepted = $diff->getDefinition($this);
        return $diff->getStructureDifferences($db, $excepted, $drop);
    }
public function getStructureDifferences ( $ db , $ drop = false ) { $ diff = new DBStructure ( ) ; $ excepted = $ diff -> getDefinition ( $ this ) ; return $ diff -> getStructureDifferences ( $ db , $ excepted , $ drop ) ; }
Genera las diferencias entre este modelo y lo que hay
en la base de datos.

@param $db DatabaseManager
@param $drop bool
@return array
Genera las diferencias entre este modelo y lo que hay en la base de datos .