Procházet zdrojové kódy

添加称重 添加接口来源

ajun před 4 roky
rodič
revize
eb09e165af

+ 1 - 1
database/migrations/2021_09_02_133048_create_weight_logs_table.php

@@ -16,7 +16,7 @@ class CreateWeightLogsTable extends Migration
         Schema::create('weight_logs', function (Blueprint $table) {
             $table->id();
             $table->text('content')->comment('请求报文');
-            $table->string('interface')->comment('接口');
+            $table->string('interface')->index()->comment('接口');
             $table->timestamps();
         });
     }