瀏覽代碼

[PropelBundle] Fixed build sql command

Francois Zaninotto 15 年之前
父節點
當前提交
449bf6266d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Framework/PropelBundle/Command/BuildSqlCommand.php

+ 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) {