Showing 1 of 1 files from the diff.
@@ -13,7 +13,7 @@
Loading
13 | 13 | */ |
|
14 | 14 | public function up() |
|
15 | 15 | { |
|
16 | - | Schema::create(config('logtodb.collection'), function (Blueprint $table) { |
|
16 | + | Schema::connection(config('logtodb.connection'))->create(config('logtodb.collection'), function (Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
|
18 | 18 | $table->text('message')->nullable(); |
|
19 | 19 | $table->string('channel')->nullable(); |
@@ -34,6 +34,6 @@
Loading
34 | 34 | */ |
|
35 | 35 | public function down() |
|
36 | 36 | { |
|
37 | - | Schema::dropIfExists(config('logtodb.collection')); |
|
37 | + | Schema::connection(config('logtodb.connection'))->dropIfExists(config('logtodb.collection')); |
|
38 | 38 | } |
|
39 | 39 | } |
Files | Complexity | Coverage |
---|---|---|
src | 117 | 96.90% |
Project Totals (13 files) | 117 | 96.90% |
97.1
7.3=.3 TRAVIS_OS_NAME=linux
97.2
TRAVIS_OS_NAME=linux 7.4=.4
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.