From 1557f4e103757d258bba5e155be77b862882e777 Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Wed, 2 Sep 2009 20:37:20 +0000 Subject: [PATCH] [2.0] Added error message to --update task in SchemaToolTask reporting incomplete implementation --- lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php b/lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php index ee8558aa4..976aee395 100644 --- a/lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php +++ b/lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php @@ -156,6 +156,8 @@ class SchemaToolTask extends AbstractTask $printer->writeln('Database schema dropped successfully.', 'INFO'); } } else if ($isUpdate) { + $printer->writeln("--update support is not yet fully implemented.", 'ERROR'); + if (isset($args['dump-sql'])) { foreach ($tool->getUpdateSchemaSql($classes) as $sql) { $printer->writeln($sql);