Conditions | 3 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | final public function up() |
||
42 | { |
||
43 | if (!Schema::connection($this->connection)->hasTable($this->collection)) { |
||
44 | Schema::connection($this->connection)->create($this->collection, function (Blueprint $collection) { |
||
45 | if (method_exists($this, 'migrate')) |
||
46 | $this->migrate($collection); |
||
47 | }); |
||
65 |