Updated links to doctrine CLI scripts to avoid depending on symlinks

This commit is contained in:
Alejandro Celaya 2018-04-07 08:21:34 +02:00
parent 7130425896
commit aca89f9abe

View file

@ -134,7 +134,7 @@ class InstallCommand extends Command
if (! $this->isUpdate) { if (! $this->isUpdate) {
$this->io->write('Initializing database...'); $this->io->write('Initializing database...');
if (! $this->runCommand( if (! $this->runCommand(
'php vendor/bin/doctrine orm:schema-tool:create', 'php vendor/doctrine/orm/bin/doctrine orm:schema-tool:create',
'Error generating database.', 'Error generating database.',
$output $output
)) { )) {
@ -145,7 +145,7 @@ class InstallCommand extends Command
// Run database migrations // Run database migrations
$this->io->write('Updating database...'); $this->io->write('Updating database...');
if (! $this->runCommand( if (! $this->runCommand(
'php vendor/bin/doctrine-migrations migrations:migrate', 'php vendor/doctrine/migrations/bin/doctrine-migrations migrations:migrate',
'Error updating database.', 'Error updating database.',
$output $output
)) { )) {
@ -155,7 +155,7 @@ class InstallCommand extends Command
// Generate proxies // Generate proxies
$this->io->write('Generating proxies...'); $this->io->write('Generating proxies...');
if (! $this->runCommand( if (! $this->runCommand(
'php vendor/bin/doctrine orm:generate-proxies', 'php vendor/doctrine/orm/bin/doctrine orm:generate-proxies',
'Error generating proxies.', 'Error generating proxies.',
$output $output
)) { )) {