Updated Map View

This commit is contained in:
2026-06-20 22:21:17 +10:00
parent 6fad966b7e
commit 05ca994253
52 changed files with 2038 additions and 803 deletions
+15
View File
@@ -10,6 +10,11 @@ class Followee extends Model
protected $fillable = [
'user_id',
'followee_id',
'verified',
];
protected $casts = [
'verified' => 'boolean',
];
public function user(): BelongsTo
@@ -21,4 +26,14 @@ class Followee extends Model
{
return $this->belongsTo(User::class, 'followee_id');
}
public function scopeVerified($query)
{
return $query->where('verified', true);
}
public function scopePending($query)
{
return $query->where('verified', false);
}
}