Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
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('preference')->index(); |
||
36 | $table->string('language_range')->index(); |
||
37 | $table->timestamp('created_at')->index(); |
||
38 | $table->timestamp('updated_at')->index(); |
||
39 | |||
40 | $table->unique(['preference', 'language_range']); |
||
41 | }); |
||
42 | } |
||
43 | } |
||
44 |