|
|
@@ -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();
|
|
|
});
|
|
|
}
|