Fix typo on schema help messages
This commit is contained in:
parent
180078d0f6
commit
234d2e5f0f
@ -65,7 +65,7 @@ EOT
|
|||||||
|
|
||||||
protected function executeSchemaCommand(InputInterface $input, OutputInterface $output, SchemaTool $schemaTool, array $metadatas)
|
protected function executeSchemaCommand(InputInterface $input, OutputInterface $output, SchemaTool $schemaTool, array $metadatas)
|
||||||
{
|
{
|
||||||
$output->write('ATTENTION: This operation should not be executed in an production enviroment.' . PHP_EOL . PHP_EOL);
|
$output->write('ATTENTION: This operation should not be executed in a production enviroment.' . PHP_EOL . PHP_EOL);
|
||||||
|
|
||||||
if ($input->getOption('dump-sql') === true) {
|
if ($input->getOption('dump-sql') === true) {
|
||||||
$sqls = $schemaTool->getCreateSchemaSql($metadatas);
|
$sqls = $schemaTool->getCreateSchemaSql($metadatas);
|
||||||
|
@ -92,7 +92,7 @@ EOT
|
|||||||
}
|
}
|
||||||
$output->write('Database schema dropped successfully!' . PHP_EOL);
|
$output->write('Database schema dropped successfully!' . PHP_EOL);
|
||||||
} else {
|
} else {
|
||||||
$output->write('ATTENTION: This operation should not be executed in an production enviroment.' . PHP_EOL . PHP_EOL);
|
$output->write('ATTENTION: This operation should not be executed in a production enviroment.' . PHP_EOL . PHP_EOL);
|
||||||
|
|
||||||
if ($isFullDatabaseDrop) {
|
if ($isFullDatabaseDrop) {
|
||||||
$sqls = $schemaTool->getDropDatabaseSQL();
|
$sqls = $schemaTool->getDropDatabaseSQL();
|
||||||
|
@ -86,7 +86,7 @@ EOT
|
|||||||
$schemaTool->updateSchema($metadatas, $saveMode);
|
$schemaTool->updateSchema($metadatas, $saveMode);
|
||||||
$output->write('Database schema updated successfully!' . PHP_EOL);
|
$output->write('Database schema updated successfully!' . PHP_EOL);
|
||||||
} else {
|
} else {
|
||||||
$output->write('ATTENTION: This operation should not be executed in an production enviroment.' . PHP_EOL);
|
$output->write('ATTENTION: This operation should not be executed in a production enviroment.' . PHP_EOL);
|
||||||
$output->write('Use the incremental update to detect changes during development and use' . PHP_EOL);
|
$output->write('Use the incremental update to detect changes during development and use' . PHP_EOL);
|
||||||
$output->write('this SQL DDL to manually update your database in production.' . PHP_EOL . PHP_EOL);
|
$output->write('this SQL DDL to manually update your database in production.' . PHP_EOL . PHP_EOL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user