Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 6beed7d

Browse files
authored
Update 0000_00_00_000000_rename_statistics_counters.php (#840)
1 parent 0a8f7aa commit 6beed7d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

database/migrations/0000_00_00_000000_rename_statistics_counters.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ public function up()
1515
{
1616
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
1717
$table->renameColumn('peak_connection_count', 'peak_connections_count');
18+
});
19+
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
1820
$table->renameColumn('websocket_message_count', 'websocket_messages_count');
21+
});
22+
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
1923
$table->renameColumn('api_message_count', 'api_messages_count');
2024
});
2125
}
@@ -29,7 +33,11 @@ public function down()
2933
{
3034
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
3135
$table->renameColumn('peak_connections_count', 'peak_connection_count');
36+
});
37+
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
3238
$table->renameColumn('websocket_messages_count', 'websocket_message_count');
39+
});
40+
Schema::table('websockets_statistics_entries', function (Blueprint $table) {
3341
$table->renameColumn('api_messages_count', 'api_message_count');
3442
});
3543
}

0 commit comments

Comments
 (0)