refactor(database): rename FlushCacheDatabase action to FlushDatabase

This commit is contained in:
peaklabs-dev
2026-10-04 23:07:05 +02:00
parent 5d9ea79ac8
commit 189207a7a5
2 changed files with 3 additions and 3 deletions
@@ -8,7 +8,7 @@ use App\Models\StandaloneRedis;
use Lorisleiva\Actions\Concerns\AsAction;
use RuntimeException;
class FlushCacheDatabase
class FlushDatabase
{
use AsAction;
+2 -2
View File
@@ -2,7 +2,7 @@
namespace App\Livewire\Project\Shared;
use App\Actions\Database\FlushCacheDatabase;
use App\Actions\Database\FlushDatabase;
use App\Jobs\DeleteResourceJob;
use App\Models\Service;
use App\Models\ServiceApplication;
@@ -167,7 +167,7 @@ class Danger extends Component
return 'The provided password is incorrect.';
}
FlushCacheDatabase::run($this->resource);
FlushDatabase::run($this->resource);
auditLog('ui.database.flushed', [
'team_id' => $this->resource->team()?->id,
'database_uuid' => $this->resource->uuid,