From a3ffc22ffb8389d570de0c2e503af5f5f20e996f Mon Sep 17 00:00:00 2001 From: Tinashe Musonza Date: Mon, 22 Jul 2019 18:17:40 -0400 Subject: [PATCH] Remove increment not required (#151) --- database/migrations/create_chat_tables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/create_chat_tables.php b/database/migrations/create_chat_tables.php index 7449b6a..d7ca175 100644 --- a/database/migrations/create_chat_tables.php +++ b/database/migrations/create_chat_tables.php @@ -56,7 +56,7 @@ public function up() }); Schema::create('mc_conversation_user', function (Blueprint $table) { - $table->bigIncrements('user_id')->unsignedBigIntegers(); + $table->integer('user_id')->unsignedBigIntegers(); $table->integer('conversation_id')->unsignedBigIntegers(); $table->primary(['user_id', 'conversation_id']); $table->timestamps();