Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create('permission_role', function (Blueprint $table) { |
||
16 | $table->id(); |
||
17 | $table->foreignId('permission_id')->constrained()->cascadeOnDelete(); |
||
18 | $table->foreignId('role_id')->constrained()->cascadeOnDelete(); |
||
19 | $table->timestamps(); |
||
20 | }); |
||
21 | } |
||
22 | |||
33 |