Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function up() |
||
32 | { |
||
33 | $this->createSchema(function (Blueprint $table) { |
||
34 | $table->bigIncrements('id'); |
||
35 | $table->string('name'); |
||
36 | $table->string('browser')->index(); |
||
37 | $table->string('browser_version'); |
||
38 | $table->timestamp('created_at')->index(); |
||
39 | $table->timestamp('updated_at')->index(); |
||
40 | |||
41 | $table->unique('name'); |
||
42 | }); |
||
43 | } |
||
44 | } |
||
45 |