Add OauthClient model

This commit is contained in:
Daniel Supernault 2019-02-05 13:57:01 -07:00
parent 5530108976
commit 14be898431
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 18 additions and 0 deletions

18
app/OauthClient.php Normal file
View 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);
}
}