File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/Illuminate/Database/Console/Migrations Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function handle()
38
38
{
39
39
if ($ this ->isProhibited () ||
40
40
! $ this ->confirmToProceed ()) {
41
- return 1 ;
41
+ return Command:: FAILURE ;
42
42
}
43
43
44
44
// Next we'll gather some of the options so that we can have the right options
Original file line number Diff line number Diff line change 2
2
3
3
namespace Illuminate \Database \Console \Migrations ;
4
4
5
+ use Illuminate \Console \Command ;
5
6
use Illuminate \Console \ConfirmableTrait ;
6
7
use Illuminate \Console \Prohibitable ;
7
8
use Illuminate \Database \Migrations \Migrator ;
@@ -56,7 +57,7 @@ public function handle()
56
57
{
57
58
if ($ this ->isProhibited () ||
58
59
! $ this ->confirmToProceed ()) {
59
- return 1 ;
60
+ return Command:: FAILURE ;
60
61
}
61
62
62
63
return $ this ->migrator ->usingConnection ($ this ->option ('database ' ), function () {
You can’t perform that action at this time.
0 commit comments