feat: meal posts
This commit is contained in:
parent
5c436fd65b
commit
f425f8721d
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue