File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ class DropTables extends Command
28
28
29
29
/**
30
30
* Run command.
31
+ *
32
+ * @return void
31
33
*/
32
34
public function handle ()
33
35
{
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ class MigrateSingle extends MigrateCommand
22
22
* @var string
23
23
*/
24
24
protected $ signature = 'migrate:single
25
- {--file : The file of migration to be executed.}
26
- {--class : The class name of migration.}
25
+ {--file= : The file of migration to be executed.}
26
+ {--class= : The class name of migration.}
27
27
{--database= : The database connection to use.}
28
28
{--force : Force the operation to run when in production.}
29
29
{--pretend : Dump the SQL queries that would be run.} ' ;
@@ -43,12 +43,24 @@ public function __construct(Migrator $migrator)
43
43
parent ::__construct ($ migrator );
44
44
}
45
45
46
+ /**
47
+ * Support for =< 5.4 versions.
48
+ *
49
+ * @return void
50
+ * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
51
+ * @throws \RuntimeException
52
+ */
53
+ public function fire ()
54
+ {
55
+ $ this ->handle ();
56
+ }
57
+
46
58
/**
47
59
* @return void
48
60
* @throws FileNotFoundException
49
61
* @throws RuntimeException
50
62
*/
51
- public function fire ()
63
+ public function handle ()
52
64
{
53
65
if (!$ this ->confirmToProceed ()) {
54
66
return ;
You can’t perform that action at this time.
0 commit comments