Add support for node creation

This commit is contained in:
Dane Everitt 2016-01-04 23:59:45 -05:00
parent b5821ffb0f
commit d381c691ba
8 changed files with 431 additions and 0 deletions

View file

@ -22,6 +22,13 @@ class Node extends Model
*/
protected $hidden = ['daemonSecret'];
/**
* Fields that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id', 'created_at', 'updated_at'];
/**
* @var array
*/