Skip to content

Commit

Permalink
Fixed migration drop primary issue..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jan 31, 2024
1 parent 33754a0 commit c092c15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions database/migrations/2022_07_21_000000_core_v305.php
Expand Up @@ -14,8 +14,7 @@
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) {
Expand Down

0 comments on commit c092c15

Please sign in to comment.