esitoken model and relationship

This commit is contained in:
2018-11-05 11:42:45 -06:00
parent 92a990c477
commit 9ca1415e10
2 changed files with 6 additions and 1 deletions

View File

@@ -59,4 +59,8 @@ class User extends Authenticatable
public function esiscopes() {
return $this->hasMany('App\Models\EsiScope');
}
public function esitoken() {
return $this->hasOne('App\Models\EsiToken');
}
}