FEATURE: add simple view for requests and queries
This commit is contained in:
@@ -9,9 +9,15 @@ class QueryLog extends Model
|
||||
protected $fillable = [
|
||||
'query',
|
||||
'bindings',
|
||||
'time'
|
||||
'time',
|
||||
'http_log_id'
|
||||
];
|
||||
protected $casts = [
|
||||
'bindings' => 'array'
|
||||
];
|
||||
|
||||
public function httpLog()
|
||||
{
|
||||
return $this->belongsTo(HttpLog::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user