Remove duplicate commands.

This commit is contained in:
James Cole 2023-04-16 07:49:53 +02:00
parent f728bdeb5a
commit 7b1b0cfef9
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -57,8 +57,6 @@ class UpgradeDatabase extends Command
{
$this->callInitialCommands();
$commands = [
'firefly-iii:fix-pgsql-sequences',
'firefly-iii:decrypt-all',
'firefly-iii:transaction-identifiers',
'firefly-iii:migrate-to-groups',
'firefly-iii:account-currencies',
@ -100,7 +98,7 @@ class UpgradeDatabase extends Command
private function callInitialCommands(): void
{
$this->line('Now seeding the database...');
$this->call('migrate', ['--seed' => true, '--force' => true]);
$this->call('migrate', ['--seed' => true, '--force' => true,' --no-interaction' => true]);
$this->line('Fix PostgreSQL sequences.');
$this->call('firefly-iii:fix-pgsql-sequences');