Code Duplication    Length = 8-8 lines in 2 locations

database/migrations/0000_00_00_000000_rename_statistics_counters.php 2 locations

@@ 14-21 (lines=8) @@
11
     *
12
     * @return void
13
     */
14
    public function up()
15
    {
16
        Schema::table('websockets_statistics_entries', function (Blueprint $table) {
17
            $table->renameColumn('peak_connection_count', 'peak_connections_count');
18
            $table->renameColumn('websocket_message_count', 'websocket_messages_count');
19
            $table->renameColumn('api_message_count', 'api_messages_count');
20
        });
21
    }
22
23
    /**
24
     * Reverse the migrations.
@@ 28-35 (lines=8) @@
25
     *
26
     * @return void
27
     */
28
    public function down()
29
    {
30
        Schema::table('websockets_statistics_entries', function (Blueprint $table) {
31
            $table->renameColumn('peak_connections_count', 'peak_connection_count');
32
            $table->renameColumn('websocket_messages_count', 'websocket_message_count');
33
            $table->renameColumn('api_messages_count', 'api_message_count');
34
        });
35
    }
36
}
37