feat: meal posts
This commit is contained in:
@@ -66,6 +66,11 @@ class User extends Authenticatable implements FilamentUser
|
|||||||
return $this->hasMany(DeviceToken::class);
|
return $this->hasMany(DeviceToken::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function mealPosts(): HasMany
|
||||||
|
{
|
||||||
|
return $this->hasMany(MealPosts::class);
|
||||||
|
}
|
||||||
|
|
||||||
public function routeNotificationForExpoPush(): array
|
public function routeNotificationForExpoPush(): array
|
||||||
{
|
{
|
||||||
return $this->deviceTokens()
|
return $this->deviceTokens()
|
||||||
|
|||||||
Reference in New Issue
Block a user