diff --git a/src/database/migrations/2019_12_08_100000_create_analytics_table.php b/src/database/migrations/2019_12_08_100000_create_analytics_table.php index 9891f75..b3b3fa7 100644 --- a/src/database/migrations/2019_12_08_100000_create_analytics_table.php +++ b/src/database/migrations/2019_12_08_100000_create_analytics_table.php @@ -25,6 +25,7 @@ public function up() }); Schema::create(ServerAnalytics::getAnalyticsRelationTable(), function (Blueprint $table) { + $table->bigIncrements('id'); $table->unsignedBigInteger('analytics_id'); $table->foreign('analytics_id') ->references('id') @@ -33,6 +34,7 @@ public function up() }); Schema::create(ServerAnalytics::getAnalyticsMetaTable(), function (Blueprint $table) { + $table->bigIncrements('id'); $table->unsignedBigInteger('analytics_id'); $table->foreign('analytics_id') ->references('id')