[Command] Named things by their real name

This commit is contained in:
William DURAND 2011-09-07 10:34:17 +02:00
commit 7865d68a03

View file

@ -191,7 +191,7 @@ abstract class AbstractPropelCommand extends ContainerAwareCommand
$prefix = implode('/', array_slice($parts, 1, $length));
foreach ($schemas as $schema) {
$tempSchema = md5($schema).'_'.$schema->getBaseName();
$tempSchema = $bundle->getName().'-'.$schema->getBaseName();
$this->tempSchemas[$tempSchema] = array(
'bundle' => $bundle->getName(),
'basename' => $schema->getBaseName(),