From 0d834d0bd4015de2c103a03592c1543399f1b363 Mon Sep 17 00:00:00 2001 From: Guilherme Blanco Date: Wed, 12 Jun 2013 00:31:25 -0400 Subject: [PATCH] DDC-2489 Added missing semicolon when dump-sql on schema update. --- .../ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php index 577fb9e0f..0c2665eda 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php @@ -123,7 +123,7 @@ EOT $force = true === $input->getOption('force'); if ($dumpSql) { - $output->writeln(implode(';' . PHP_EOL, $sqls)); + $output->writeln(implode(';' . PHP_EOL, $sqls) . ';'); } if ($force) { @@ -138,7 +138,7 @@ EOT if ($dumpSql || $force) { return 0; } - + $output->writeln('ATTENTION: This operation should not be executed in a production environment.'); $output->writeln(' Use the incremental update to detect changes during development and use'); $output->writeln(' the SQL DDL provided to manually update your database in production.');