Fix service creation/updates, closes #306
This commit is contained in:
parent
99497adcb2
commit
824041f6ca
3 changed files with 10 additions and 5 deletions
|
@ -36,11 +36,13 @@ class Service extends Model
|
|||
protected $table = 'services';
|
||||
|
||||
/**
|
||||
* Fields that are not mass assignable.
|
||||
* Fields that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['id', 'created_at', 'updated_at'];
|
||||
protected $fillable = [
|
||||
'name', 'description', 'file', 'executable', 'startup',
|
||||
];
|
||||
|
||||
/**
|
||||
* Gets all service options associated with this service.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue