diff --git a/database/migrations/2019_02_08_192219_create_websockets_statistics_entries_table.php b/database/migrations/2019_02_08_192219_create_websockets_statistics_entries_table.php new file mode 100644 index 00000000..b56e525b --- /dev/null +++ b/database/migrations/2019_02_08_192219_create_websockets_statistics_entries_table.php @@ -0,0 +1,30 @@ +increments('id'); + $table->string('app_id'); + $table->integer('peak_connection_count'); + $table->integer('websocket_message_count'); + $table->integer('api_message_count'); + $table->nullableTimestamps(); + }); + } + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('websockets_statistics_entries'); + } +}