Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class CreateSenseRequestSummariesTable extends Migration |
||
19 | { |
||
20 | /** |
||
21 | * Run the migrations. |
||
22 | * |
||
23 | * @return void |
||
24 | */ |
||
25 | public function up(): void |
||
26 | { |
||
27 | Schema::create('sense_request_summaries', function (Blueprint $table) { |
||
28 | $table->bigIncrements('id'); |
||
29 | $table->unsignedBigInteger('request_id'); |
||
30 | $table->unsignedInteger('queries_count')->default('0'); |
||
31 | $table->double('time_total', 10, 2)->default('0'); |
||
32 | $table->timestamps(); |
||
33 | }); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Reverse the migrations. |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | public function down(): void |
||
44 | } |
||
45 | } |
||
46 |