Преглед изворни кода

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();
     }