Cleanup node routes, cleanup remote token
This commit is contained in:
parent
287015669a
commit
d38f89a468
6 changed files with 131 additions and 114 deletions
|
@ -48,4 +48,14 @@ class NodeConfigurationToken extends Model
|
|||
* @var array
|
||||
*/
|
||||
protected $dates = ['created_at', 'updated_at', 'expires_at'];
|
||||
|
||||
/**
|
||||
* Gets the node associated with a configuration token.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function node()
|
||||
{
|
||||
return $this->belongsTo(Node::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue