bigIncrements('id'); $table->bigInteger('owner_id')->unsigned()->nullable()->index(); $table->bigInteger('circle_id')->unsigned()->index(); $table->bigInteger('profile_id')->unsigned()->index(); $table->unique(['circle_id', 'profile_id']); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('circle_profiles'); } }