Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 11 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create('roles', function (Blueprint $table) { |
||
16 | $table->id(); |
||
17 | $table->string('name'); |
||
18 | $table->string('slug')->unique(); |
||
19 | $table->text('description')->nullable(); |
||
20 | $table->boolean('system')->default(0); |
||
21 | $table->timestamps(); |
||
22 | }); |
||
23 | } |
||
24 | |||
35 |