Code Duplication    Length = 7-8 lines in 2 locations

database/migrations/2018_04_01_000000_create_statistics_tables.php 2 locations

@@ 74-81 (lines=8) @@
71
            }
72
        );
73
        Schema::create(
74
            \Illuminate\Support\Facades\Config::get('tracking.statistics.tables.devices'), function (Blueprint $table) {
75
                // Columns
76
                $table->increments('id');
77
                $table->string('family');
78
                $table->string('model')->nullable();
79
                $table->string('brand')->nullable();
80
                $table->integer('count')->unsigned()->default(0);
81
            }
82
        );
83
        Schema::create(
84
            \Illuminate\Support\Facades\Config::get('tracking.statistics.tables.platforms'), function (Blueprint $table) {
@@ 84-90 (lines=7) @@
81
            }
82
        );
83
        Schema::create(
84
            \Illuminate\Support\Facades\Config::get('tracking.statistics.tables.platforms'), function (Blueprint $table) {
85
                // Columns
86
                $table->increments('id');
87
                $table->string('family');
88
                $table->string('version')->nullable();
89
                $table->integer('count')->unsigned()->default(0);
90
            }
91
        );
92
        Schema::create(
93
            \Illuminate\Support\Facades\Config::get('tracking.statistics.tables.geoips'), function (Blueprint $table) {