*/ use HasFactory; protected $table = 'oauth_connections'; /** * The relationship between the OAuth connection and the user. * * @return BelongsTo */ public function user(): BelongsTo { return $this->belongsTo(User::class); } /** * The attributes that should be cast to native types. */ protected function casts(): array { return [ 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; } }