Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Anomaly\Streams\Platform\Database\Migration; |
||
27 | public function getRan($namespace = null) |
||
28 | { |
||
29 | if ($addon = $this->migrator->getAddon()) { |
||
30 | return $this->table() |
||
31 | ->orderBy('batch', 'asc') |
||
32 | ->orderBy('migration', 'asc') |
||
33 | ->where('migration', 'LIKE', '%' . $addon->getNamespace() . '%') |
||
34 | ->pluck('migration')->all(); |
||
35 | } |
||
36 | |||
37 | return parent::getRan(); |
||
38 | } |
||
39 | |||
53 |