Skip to content

Commit

Permalink
fix: Missing generate:api-resources command execution in app:migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Dec 5, 2024
1 parent 51947c9 commit 5ec4ee0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/RoadizCoreBundle/src/Console/AppMigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$output->isQuiet()
) ? $io->success('generate:nsentities') : $io->error('generate:nsentities');

0 === $this->runCommand(
'generate:api-resources',
'',
null,
$input->isInteractive(),
$output->isQuiet()
) ? $io->success('generate:api-resources') : $io->error('generate:api-resources');

$this->schemaUpdater->updateNodeTypesSchema();
$this->schemaUpdater->updateSchema();
$io->success('doctrine-migrations');
Expand Down

0 comments on commit 5ec4ee0

Please sign in to comment.