This commit is contained in:
2021-01-14 10:17:29 +08:00
parent ef6e901edf
commit cad079a9a7
4 changed files with 21 additions and 8 deletions

View File

@@ -40,9 +40,9 @@ class Log extends Model
Schema::create($this->table, function (Blueprint $table) {
$table->increments('id');
$table->string('path', 255);
$table->string('method', 15);
$table->string('method', 15)->index();
$table->text('in_source');
$table->string('type', 20);
$table->string('type', 20)->index();
$table->text('out_source')->nullable();
$table->timestamps();
});