diff --git a/src/Traits/QueryCacheable.php b/src/Traits/QueryCacheable.php index 285d354..8be4728 100644 --- a/src/Traits/QueryCacheable.php +++ b/src/Traits/QueryCacheable.php @@ -37,7 +37,7 @@ protected function getCacheTagsToInvalidateOnUpdate(): array { return [ $this->getTable(), - $this->getTable() . ':' . $this->getRouteKeyName() + $this->getTable() . '_' . $this->getRouteKey() ]; }