Files
commander_league_api/app/Profile.php
Kevin ANATOLE a7ab7f56ef Profile
- Save the profile into the current request when the user is
authenticated
- Created the migration for the profiles table
- Created the Profile model
- Created route to retrieve the current user's profile
2020-11-01 08:50:51 +00:00

24 lines
393 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* Class Profile
* @package App
*
* @property integer id
* @property string display_name
* @property string uid
* @property string picture
* @property \DateTime created_at
* @property \DateTime updated_at
*/
class Profile extends Model
{
protected $fillable = [
'display_name', 'uid', 'picture'
];
}