/** * Migrates the database. * * @param string $schema xml schema */ public function migrate($schema) { $builder = new QuickBuilder(); $platform = $this->getPlatform(); $builder->setPlatform($platform); $builder->setParser($this->getParser($this->con)); $builder->getParser()->setPlatform($platform); $builder->setSchema($schema); $builder->updateDB($this->con); }