safriansah

ravel-auth-model-profile

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