|
@@ -224,9 +224,9 @@ class MigrationsBase extends AbstractMigration implements ContainerAwareInterfac
|
|
|
$this->createUpdates($value[MigrationsBase::UPDATE]);
|
|
|
} else if (strtoupper($key) === MigrationsBase::DELETE) {
|
|
|
$this->createDeletes($value[MigrationsBase::DELETE]);
|
|
|
- }else{
|
|
|
- die("Valor no esperado");
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ die("Valor no esperado");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -493,7 +493,7 @@ class MigrationsBase extends AbstractMigration implements ContainerAwareInterfac
|
|
|
*/
|
|
|
public function executeSQL($sql, $type, $arrayPrepare = null)
|
|
|
{
|
|
|
- $this->connection->executeUpdate($sql, (array)$arrayPrepare);
|
|
|
+ $this->connection->executeUpdate($sql, (array)$arrayPrepare);
|
|
|
|
|
|
$this->sumLine();
|
|
|
}
|
|
@@ -747,7 +747,7 @@ class MigrationsBase extends AbstractMigration implements ContainerAwareInterfac
|
|
|
foreach ($resp as $key => $value) {
|
|
|
if (isset($value["AUTO_INCREMENT"])) {
|
|
|
$autoIncrement = $value["AUTO_INCREMENT"];
|
|
|
-}
|
|
|
+ }
|
|
|
}
|
|
|
} catch (\Throwable $e) {
|
|
|
}
|