fix: allow reuse of a database name (#571)

* fix: allow reuse of a database name

* style

---------

Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
This commit is contained in:
Jamie Wood
2025-04-05 20:50:14 +01:00
committed by GitHub
parent f3500497d0
commit 4e5f975917
7 changed files with 17 additions and 2 deletions

View File

@ -40,6 +40,7 @@ protected function getTableColumns(): array
return [
TextColumn::make('database.name')
->label('Database')
->tooltip(fn (Backup $record) => $record->database->deleted_at ? 'Deleted at '.$record->database->deleted_at->format('Y-m-d H:i:s') : null)
->searchable(),
TextColumn::make('storage.profile')
->label('Storage')