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