From: Vincent Vanwaelscappel Date: Mon, 27 May 2019 14:52:49 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=eae4f1568033b1a08f8f93387d01a3fb9437ccff;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Console/Commands/MigrateCommand.php b/src/app/Console/Commands/MigrateCommand.php index 6c7e6bc..e7e0947 100644 --- a/src/app/Console/Commands/MigrateCommand.php +++ b/src/app/Console/Commands/MigrateCommand.php @@ -59,7 +59,7 @@ class MigrateCommand extends CubistCommand $queries = $diff->toSaveSql($connection->getDatabasePlatform()); foreach ($queries as $q) { - $this->line($q); + $connection->exec($q); } }