From c18d7ed4983273c11eda9834d2e2edfc71db5eb9 Mon Sep 17 00:00:00 2001 From: ucan-lab Date: Wed, 16 Mar 2022 20:32:41 +0900 Subject: [PATCH] fix dacapo:init Base table or view already exists: 1050 Table 'users' already exists --- src/Dacapo/Presentation/Console/DacapoInitCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dacapo/Presentation/Console/DacapoInitCommand.php b/src/Dacapo/Presentation/Console/DacapoInitCommand.php index b6a88a88..ef0e687c 100644 --- a/src/Dacapo/Presentation/Console/DacapoInitCommand.php +++ b/src/Dacapo/Presentation/Console/DacapoInitCommand.php @@ -45,7 +45,7 @@ public function handle(Filesystem $filesystem): void file_put_contents($to, file_get_contents($from)); $this->line('Generated: database/schemas/default.yml'); - $this->call('dacapo:clear', ['--all']); + $this->call('dacapo:clear', ['--all' => true]); $this->call('dacapo', ['--no-migrate' => $this->option('no-migrate')]); } }