浏览代码

Correccion para las migraciones

gabriel 7 年之前
父节点
当前提交
4ebc8362e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Migrations/MigrationsBase.php

+ 1 - 1
Migrations/MigrationsBase.php

@@ -493,7 +493,7 @@ class MigrationsBase extends AbstractMigration implements ContainerAwareInterfac
      */
     public function executeSQL($sql, $type, $arrayPrepare = null)
     {
-	$this->addSql($sql, (array)$arrayPrepare);
+	$this->connection->executeUpdate($sql, (array)$arrayPrepare);
 
         $this->sumLine();
     }