concrete/src/Package/Package.php
public function upgradeDatabase()
    {
        $em = $this->getPackageEntityManager();
        if ($em !== null) {
            $this->destroyProxyClasses($em);
            $this->installEntitiesDatabase();
        }
        static::installDB($this->getPackagePath() . '/' . FILENAME_PACKAGE_DB);
    }
public function upgradeDatabase()
    {
        $em = $this->getPackageEntityManager();
        if ($em !== null) {
            $this->destroyProxyClasses($em);
            $this->installEntitiesDatabase();
        }
        static::installDB($this->getPackagePath() . '/' . FILENAME_PACKAGE_DB);
    }
public function upgradeDatabase ( ) { $ em = $ this -> getPackageEntityManager ( ) ; if ( $ em !== null ) { $ this -> destroyProxyClasses ( $ em ) ; $ this -> installEntitiesDatabase ( ) ; } static :: installDB ( $ this -> getPackagePath ( ) . '/' . FILENAME_PACKAGE_DB ) ; }
Updates a package's database using entities and a db.xml.

@throws \Doctrine\DBAL\ConnectionException
@throws \Exception
Updates a package s database using entities and a db . xml .