1
0
mirror of synced 2025-01-18 14:31:40 +03:00

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

This commit is contained in:
guilhermeblanco 2009-09-02 20:37:20 +00:00
parent 222459f517
commit 1557f4e103

View File

@ -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);