Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function handle()
{
if ($this->isProhibited() ||
! $this->confirmToProceed()) {
return 1;
return Command::FAILURE;
}

// Next we'll gather some of the options so that we can have the right options
Expand Down
3 changes: 2 additions & 1 deletion src/Illuminate/Database/Console/Migrations/ResetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Illuminate\Database\Console\Migrations;

use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Illuminate\Console\Prohibitable;
use Illuminate\Database\Migrations\Migrator;
Expand Down Expand Up @@ -56,7 +57,7 @@ public function handle()
{
if ($this->isProhibited() ||
! $this->confirmToProceed()) {
return 1;
return Command::FAILURE;
}

return $this->migrator->usingConnection($this->option('database'), function () {
Expand Down