remove user_role user_type column
This commit is contained in:
parent
25ba500fe9
commit
70f53b6355
@ -410,12 +410,11 @@ return new class extends Migration
|
||||
Schema::create('user_roles', function (Blueprint $table) {
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->integer('role_id')->unsigned();
|
||||
$table->string('user_type');
|
||||
|
||||
$table->foreign('role_id')->references('id')->on('roles')
|
||||
->onUpdate('cascade')->onDelete('cascade');
|
||||
|
||||
$table->primary(['user_id', 'role_id', 'user_type']);
|
||||
$table->primary(['user_id', 'role_id']);
|
||||
});
|
||||
|
||||
// Reconciliations
|
||||
|
Loading…
x
Reference in New Issue
Block a user