Fix for using platform class configured in build properties #149

Closed
wants to merge 1 commit into
from
+1 −1
Split
@@ -81,7 +81,7 @@ protected function execute($arguments = array(), $options = array())
}
$pdo = $databaseManager->getDatabase($name)->getConnection();
$database = new Database($name);
- $platform = $this->getPlatform($databaseManager, $name);
+ $platform = $this->getGeneratorConfig()->getConfiguredPlatform($pdo, $name);
$database->setPlatform($platform);
$database->setDefaultIdMethod(IDMethod::NATIVE);
$parser = $this->getParser($databaseManager, $name, $pdo);