Save the user ID of who created the component or incident
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
use ValidatingTrait;
|
||||
|
||||
protected $rules = [
|
||||
'user_id' => 'required|integer',
|
||||
'name' => 'required',
|
||||
'status' => 'required|integer'
|
||||
];
|
||||
|
||||
protected $fillable = ['name', 'description', 'status'];
|
||||
protected $fillable = ['user_id', 'name', 'description', 'status'];
|
||||
|
||||
/**
|
||||
* Lookup all of the incidents reported on the component.
|
||||
|
||||
Reference in New Issue
Block a user