danielme85 / laravel-log-to-db

Compare c88998d ... +0 ... 44704fc

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

Learn more about Codecov Flags here.


@@ -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
}

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
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%
Loading