Explorar o código

[PropelBundle] Fixed build sql command

Francois Zaninotto %!s(int64=15) %!d(string=hai) anos
pai
achega
449bf6266d

+ 1 - 1
src/Symfony/Framework/PropelBundle/Command/BuildSqlCommand.php

@@ -52,7 +52,7 @@ EOT
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        $this->callPhing('sql');
+        $this->callPhing('sql', array('propel.packageObjectModel' => false));
         $filesystem = new Filesystem();
         $basePath = $this->application->getKernel()->getRootDir(). DIRECTORY_SEPARATOR . 'propel'. DIRECTORY_SEPARATOR . 'sql';
         foreach ($this->tempSchemas as $schemaFile => $schemaDetails) {