Pārlūkot izejas kodu

Correccion para las migraciones

gabriel 7 gadi atpakaļ
vecāks
revīzija
4ebc8362e1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
     public function executeSQL($sql, $type, $arrayPrepare = null)
     {
     {
-	$this->addSql($sql, (array)$arrayPrepare);
+	$this->connection->executeUpdate($sql, (array)$arrayPrepare);
 
 
         $this->sumLine();
         $this->sumLine();
     }
     }