File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ class Fresh extends Processor
1212 public function handle (): void
1313 {
1414 $ this ->drop ();
15- $ this ->create ();
1615 $ this ->migrate ();
1716 }
1817
@@ -23,14 +22,6 @@ protected function drop(): void
2322 }
2423 }
2524
26- protected function create (): void
27- {
28- $ this ->runCommand (Names::INSTALL , [
29- '-- ' . Options::CONNECTION => $ this ->options ->connection ,
30- '-- ' . Options::FORCE => $ this ->options ->force ,
31- ]);
32- }
33-
3425 protected function migrate (): void
3526 {
3627 $ this ->runCommand (Names::MIGRATE , [
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ protected function ensureRepository(): void
2525 {
2626 $ this ->runCommand (Names::INSTALL , [
2727 '-- ' . Options::CONNECTION => $ this ->options ->connection ,
28+ '-- ' . Options::FORCE => true ,
2829 ]);
2930 }
3031
You can’t perform that action at this time.
0 commit comments