@@ 73-83 (lines=11) @@ | ||
70 | } elseif ($this->option('force')) { |
|
71 | return $this->migrate($module['slug']); |
|
72 | } |
|
73 | } else { |
|
74 | if ($this->option('force')) { |
|
75 | $modules = $this->module->all(); |
|
76 | } else { |
|
77 | $modules = $this->module->enabled(); |
|
78 | } |
|
79 | ||
80 | foreach ($modules as $module) { |
|
81 | $this->migrate($module['slug']); |
|
82 | } |
|
83 | } |
|
84 | } |
|
85 | ||
86 | /** |
@@ 78-88 (lines=11) @@ | ||
75 | } elseif ($this->option('force')) { |
|
76 | return $this->reset($slug); |
|
77 | } |
|
78 | } else { |
|
79 | if ($this->option('force')) { |
|
80 | $modules = $this->module->all()->reverse(); |
|
81 | } else { |
|
82 | $modules = $this->module->enabled()->reverse(); |
|
83 | } |
|
84 | ||
85 | foreach ($modules as $module) { |
|
86 | $this->reset($module['slug']); |
|
87 | } |
|
88 | } |
|
89 | } |
|
90 | ||
91 | /** |
@@ 63-73 (lines=11) @@ | ||
60 | } |
|
61 | ||
62 | return; |
|
63 | } else { |
|
64 | if ($this->option('force')) { |
|
65 | $modules = $this->module->all(); |
|
66 | } else { |
|
67 | $modules = $this->module->enabled(); |
|
68 | } |
|
69 | ||
70 | foreach ($modules as $module) { |
|
71 | $this->seed($module['slug']); |
|
72 | } |
|
73 | } |
|
74 | } |
|
75 | ||
76 | /** |