safriansah

ravel-auth-model-token

Oct 23rd, 2020
662
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Token extends Model
  2. {
  3.     //
  4.     protected $table = 'token';
  5.     public function user()
  6.     {
  7.         return $this->belongsTo('App\Models\Users', 'id_user');
  8.     }
  9. }
RAW Paste Data