mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Reduced the number of includes by pointing to dcotrine scripts with extension
This commit is contained in:
parent
b4ded374e9
commit
8793a67ce9
3 changed files with 3 additions and 3 deletions
0
data/infra/database/.gitignore
vendored
Normal file → Executable file
0
data/infra/database/.gitignore
vendored
Normal file → Executable file
0
data/infra/nginx/.gitignore
vendored
Normal file → Executable file
0
data/infra/nginx/.gitignore
vendored
Normal file → Executable file
|
@ -134,7 +134,7 @@ class InstallCommand extends Command
|
|||
if (! $this->isUpdate) {
|
||||
$this->io->write('Initializing database...');
|
||||
if (! $this->runCommand(
|
||||
'php vendor/doctrine/orm/bin/doctrine orm:schema-tool:create',
|
||||
'php vendor/doctrine/orm/bin/doctrine.php orm:schema-tool:create',
|
||||
'Error generating database.',
|
||||
$output
|
||||
)) {
|
||||
|
@ -145,7 +145,7 @@ class InstallCommand extends Command
|
|||
// Run database migrations
|
||||
$this->io->write('Updating database...');
|
||||
if (! $this->runCommand(
|
||||
'php vendor/doctrine/migrations/bin/doctrine-migrations migrations:migrate',
|
||||
'php vendor/doctrine/migrations/bin/doctrine-migrations.php migrations:migrate',
|
||||
'Error updating database.',
|
||||
$output
|
||||
)) {
|
||||
|
@ -155,7 +155,7 @@ class InstallCommand extends Command
|
|||
// Generate proxies
|
||||
$this->io->write('Generating proxies...');
|
||||
if (! $this->runCommand(
|
||||
'php vendor/doctrine/orm/bin/doctrine orm:generate-proxies',
|
||||
'php vendor/doctrine/orm/bin/doctrine.php orm:generate-proxies',
|
||||
'Error generating proxies.',
|
||||
$output
|
||||
)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue