No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
c88998d
... +0 ...
44704fc
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
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 | 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/Commands/LogCleanerUpper.php | ø | 100.00% |
src/Jobs/SaveNewLogEvent.php | ø | 83.33% |
src/LogToDB.php | ø | 95.65% |
src/LogToDbCustomLoggingHandler.php | ø | 100.00% |
src/LogToDbHandler.php | ø | 100.00% |
src/Models/BindsDynamically.php | ø | 100.00% |
src/Models/DBLog.php | ø | 100.00% |
src/Models/DBLogMongoDB.php | ø | 100.00% |
src/Models/LogToDbCreateObject.php | ø | 100.00% |
src/Processors/PhpVersionProcessor.php | ø | 100.00% |
src/ServiceProvider.php | ø | 86.67% |
src/config/logtodb.php | ø | 100.00% |
src/migrations/2018_08_11_003343_create_log_table.php | ø | 100.00% |
Project Totals (13 files) | 117 | 96.90% |
44704fc
c88998d