Skip to content

Commit

Permalink
fix dacapo:init Base table or view already exists: 1050 Table 'users'…
Browse files Browse the repository at this point in the history
… already exists
  • Loading branch information
ucan-lab committed Mar 16, 2022
1 parent 69d1f99 commit c18d7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dacapo/Presentation/Console/DacapoInitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function handle(Filesystem $filesystem): void
file_put_contents($to, file_get_contents($from));
$this->line('<fg=green>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')]);
}
}

0 comments on commit c18d7ed

Please sign in to comment.