Commit 1557f4e1 authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Added error message to --update task in SchemaToolTask reporting incomplete implementation

parent 222459f5
...@@ -156,6 +156,8 @@ class SchemaToolTask extends AbstractTask ...@@ -156,6 +156,8 @@ class SchemaToolTask extends AbstractTask
$printer->writeln('Database schema dropped successfully.', 'INFO'); $printer->writeln('Database schema dropped successfully.', 'INFO');
} }
} else if ($isUpdate) { } else if ($isUpdate) {
$printer->writeln("--update support is not yet fully implemented.", 'ERROR');
if (isset($args['dump-sql'])) { if (isset($args['dump-sql'])) {
foreach ($tool->getUpdateSchemaSql($classes) as $sql) { foreach ($tool->getUpdateSchemaSql($classes) as $sql) {
$printer->writeln($sql); $printer->writeln($sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment