Skip to content

Commit

Permalink
Add details to sync-metadata-storage's help
Browse files Browse the repository at this point in the history
People might think this command synchronizes the database with migration
files, when it merely synchronizes it with the definition of the
metadata table.
  • Loading branch information
greg0ire committed Jul 16, 2023
1 parent 478fd2f commit b6913ac
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ protected function configure(): void
->setAliases(['sync-metadata-storage'])
->setDescription('Ensures that the metadata storage is at the latest version.')
->setHelp(<<<EOT
The <info>%command.name%</info> command updates metadata storage the latest version.
The way metadata is stored in the database can change between releases.
The <info>%command.name%</info> command updates metadata storage to the latest version,
ensuring it is ready to receive migrations generated by the current version of Doctrine Migrations.
<info>%command.full_name%</info>
EOT
Expand Down

0 comments on commit b6913ac

Please sign in to comment.