Save the user ID of who created the component or incident

This commit is contained in:
manavo
2014-11-25 11:50:15 +00:00
parent e104a9a317
commit e994f2a88a
5 changed files with 78 additions and 2 deletions

View File

@@ -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.