From 758677ada49dec80841af5a71a8966e742ed91ef Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 9 Feb 2019 22:38:46 -0700 Subject: [PATCH] Add new migration --- ...te_websockets_statistics_entries_table.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 database/migrations/2019_02_08_192219_create_websockets_statistics_entries_table.php 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'); + } +}