Skip to content

Commit

Permalink
sql update force
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Loges committed Apr 10, 2018
1 parent 9dd3e78 commit 350d284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Devliver/Command/SelfUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected function updateDatabase(SymfonyStyle $io)
$executableFinder = new PhpExecutableFinder();
$php = $executableFinder->find();

$command = sprintf('%s %s doctrine:schema:update --dump-sql', $php, $bin);
$command = sprintf('%s %s doctrine:schema:update --dump-sql --force', $php, $bin);

$process = new Process($command, $pwd);
$helper->run($io, $process, null, function ($type, $data) use ($io) {
Expand Down

0 comments on commit 350d284

Please sign in to comment.