Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('pcmm_permissions', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->integer('menu_id')->unsigned()->index(); |
||
19 | $table->string('namespace', 255)->index(); |
||
20 | $table->string('controller', 255)->index(); |
||
21 | $table->enum('method', ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'])->index(); |
||
22 | $table->string('action', 255)->index(); |
||
23 | $table->boolean('allowed')->default(true); |
||
24 | $table->timestamps(); |
||
25 | |||
39 |