INIT: initial commit

This commit is contained in:
Michal Kváček
2017-09-23 00:46:53 +02:00
commit ed32a1c27b
29 changed files with 935 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Modules\Profiler\Entities;
use Illuminate\Database\Eloquent\Model;
class HttpLog extends Model
{
public $table = 'http_log';
protected $fillable = [
'method',
'url',
'time',
'load_1',
'load_5',
'load_15'
];
public function queries()
{
return $this->hasMany(QueryLog::class);
}
}