mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Add OauthClient model
This commit is contained in:
parent
5530108976
commit
14be898431
1 changed files with 18 additions and 0 deletions
18
app/OauthClient.php
Normal file
18
app/OauthClient.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class OauthClient extends Model
|
||||
{
|
||||
|
||||
protected $table = 'oauth_clients';
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue