kenken999's picture
add php laravel
dad4394
raw
history blame
265 Bytes
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Profile extends Model
{
protected $fillable = [
'user_id',
'bio',
'tags',
]
public function user()
{
return $this->belongsTo(User::class);
}
}