mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
refactor(database): rename FlushCacheDatabase action to FlushDatabase
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ use App\Models\StandaloneRedis;
|
||||
use Lorisleiva\Actions\Concerns\AsAction;
|
||||
use RuntimeException;
|
||||
|
||||
class FlushCacheDatabase
|
||||
class FlushDatabase
|
||||
{
|
||||
use AsAction;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user