Przeglądaj źródła

Correccion para las migraciones

gabriel 7 lat temu
rodzic
commit
4ebc8362e1
1 zmienionych plików z 1 dodań i 1 usunięć
  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();
     }