You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Models/UserOidcMapping.php

26 lines
393 B
PHP

<?php
namespace App\Models;
use App\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class UserOidcMapping extends Model
{
use HasFactory;
public $timestamps = true;
protected $fillable = [
'user_id',
'oidc_id',
];
public function user()
{
return $this->belongsTo(User::class);
}
}