diff --git a/database/migrations/2022_07_21_000000_core_v305.php b/database/migrations/2022_07_21_000000_core_v305.php index c140d0ce5..8dfdd8808 100644 --- a/database/migrations/2022_07_21_000000_core_v305.php +++ b/database/migrations/2022_07_21_000000_core_v305.php @@ -14,8 +14,7 @@ return new class extends Migration public function up() { Schema::table('user_roles', function (Blueprint $table) { - $table->dropPrimary(['user_id', 'role_id', 'user_type']); - $table->primary(['user_id', 'role_id']); + $table->dropPrimary('user_type'); }); Schema::table('user_roles', function (Blueprint $table) {