diff --git a/database/migrations/0000_00_00_000000_rename_statistics_counters.php b/database/migrations/0000_00_00_000000_rename_statistics_counters.php index 70dbf79acd..95b23f4db7 100644 --- a/database/migrations/0000_00_00_000000_rename_statistics_counters.php +++ b/database/migrations/0000_00_00_000000_rename_statistics_counters.php @@ -15,7 +15,11 @@ public function up() { Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('peak_connection_count', 'peak_connections_count'); + }); + Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('websocket_message_count', 'websocket_messages_count'); + }); + Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('api_message_count', 'api_messages_count'); }); } @@ -29,7 +33,11 @@ public function down() { Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('peak_connections_count', 'peak_connection_count'); + }); + Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('websocket_messages_count', 'websocket_message_count'); + }); + Schema::table('websockets_statistics_entries', function (Blueprint $table) { $table->renameColumn('api_messages_count', 'api_message_count'); }); }