Improved check on update and install commands

This commit is contained in:
Alejandro Celaya
2017-07-03 13:17:44 +02:00
parent c3cc88f03e
commit 1fe2e6f6bd
3 changed files with 23 additions and 12 deletions

View File

@@ -3,7 +3,10 @@ namespace Shlinkio\Shlink\CLI\Command\Install;
class UpdateCommand extends AbstractInstallCommand
{
public function createDatabase()
/**
* @return bool
*/
protected function isUpdate()
{
return true;
}