finish oauth provider + docker service wait for MySQL

This commit is contained in:
xiaomlove
2025-05-01 14:18:30 +07:00
parent cc89e8aa59
commit af33e5cba7
26 changed files with 450 additions and 41 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Laravel\Passport\Client;
use Ramsey\Uuid;
use function Ramsey\Uuid;
class SocialAccount extends NexusModel
{
protected $fillable = [
'user_id', 'provider_id', 'provider_user_id', 'provider_username', 'provider_email',
];
public $timestamps = true;
public function user()
{
return $this->belongsTo(User::class, 'user_id');
}
}