Преглед на файлове

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