From 323a3ddf5dd9942d53e8704d24cb827c78d7e240 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Thu, 19 Jan 2023 12:38:13 +0100 Subject: [PATCH] remove model --- app/Http/Livewire/Tables/BitcoinEventTable.php | 2 -- app/Http/Livewire/Tables/BookCaseTable.php | 1 - app/Http/Livewire/Tables/CityTable.php | 1 - app/Http/Livewire/Tables/CourseTable.php | 1 - app/Http/Livewire/Tables/EventTable.php | 1 - app/Http/Livewire/Tables/LecturerTable.php | 1 - app/Http/Livewire/Tables/LibraryItemTable.php | 1 - app/Http/Livewire/Tables/MeetupEventTable.php | 1 - app/Http/Livewire/Tables/MeetupTable.php | 1 - app/Http/Livewire/Tables/VenueTable.php | 1 - 10 files changed, 11 deletions(-) diff --git a/app/Http/Livewire/Tables/BitcoinEventTable.php b/app/Http/Livewire/Tables/BitcoinEventTable.php index 5489a6cd..f87a2198 100644 --- a/app/Http/Livewire/Tables/BitcoinEventTable.php +++ b/app/Http/Livewire/Tables/BitcoinEventTable.php @@ -12,8 +12,6 @@ class BitcoinEventTable extends DataTableComponent { public string $country; - - protected $model = BitcoinEvent::class; public string $tableName = 'bitcoin_events'; public function configure(): void diff --git a/app/Http/Livewire/Tables/BookCaseTable.php b/app/Http/Livewire/Tables/BookCaseTable.php index 1ca9680c..b44c02ee 100644 --- a/app/Http/Livewire/Tables/BookCaseTable.php +++ b/app/Http/Livewire/Tables/BookCaseTable.php @@ -28,7 +28,6 @@ class BookCaseTable extends DataTableComponent 'comment' => '', ]; public string $tableName = 'bookcases'; - protected $model = BookCase::class; public function configure(): void { diff --git a/app/Http/Livewire/Tables/CityTable.php b/app/Http/Livewire/Tables/CityTable.php index 8ca6b61a..a45f9660 100644 --- a/app/Http/Livewire/Tables/CityTable.php +++ b/app/Http/Livewire/Tables/CityTable.php @@ -16,7 +16,6 @@ class CityTable extends DataTableComponent public string $country; public string $type; - protected $model = City::class; public string $tableName = 'cities'; public function configure(): void diff --git a/app/Http/Livewire/Tables/CourseTable.php b/app/Http/Livewire/Tables/CourseTable.php index 0a723786..48ccc5d7 100644 --- a/app/Http/Livewire/Tables/CourseTable.php +++ b/app/Http/Livewire/Tables/CourseTable.php @@ -13,7 +13,6 @@ class CourseTable extends DataTableComponent { public string $country; public string $tableName = 'courses'; - protected $model = Course::class; public function configure(): void { diff --git a/app/Http/Livewire/Tables/EventTable.php b/app/Http/Livewire/Tables/EventTable.php index 8fc18a83..3605b2ce 100644 --- a/app/Http/Livewire/Tables/EventTable.php +++ b/app/Http/Livewire/Tables/EventTable.php @@ -18,7 +18,6 @@ class EventTable extends DataTableComponent public bool $viewingModal = false; public $currentModal; public string $tableName = 'events'; - protected $model = CourseEvent::class; public function configure(): void { diff --git a/app/Http/Livewire/Tables/LecturerTable.php b/app/Http/Livewire/Tables/LecturerTable.php index 9a348056..7a3765b3 100644 --- a/app/Http/Livewire/Tables/LecturerTable.php +++ b/app/Http/Livewire/Tables/LecturerTable.php @@ -12,7 +12,6 @@ use Rappasoft\LaravelLivewireTables\Views\Columns\ImageColumn; class LecturerTable extends DataTableComponent { public string $country; - protected $model = Lecturer::class; public string $tableName = 'lecturers'; public function configure(): void diff --git a/app/Http/Livewire/Tables/LibraryItemTable.php b/app/Http/Livewire/Tables/LibraryItemTable.php index 1a78c4d3..2e177a4c 100644 --- a/app/Http/Livewire/Tables/LibraryItemTable.php +++ b/app/Http/Livewire/Tables/LibraryItemTable.php @@ -18,7 +18,6 @@ class LibraryItemTable extends DataTableComponent { public string $currentTab; public string $tableName = 'library_items'; - protected $model = LibraryItem::class; public function configure(): void { diff --git a/app/Http/Livewire/Tables/MeetupEventTable.php b/app/Http/Livewire/Tables/MeetupEventTable.php index 5fad06ef..aa83b299 100644 --- a/app/Http/Livewire/Tables/MeetupEventTable.php +++ b/app/Http/Livewire/Tables/MeetupEventTable.php @@ -12,7 +12,6 @@ class MeetupEventTable extends DataTableComponent { public string $country; - protected $model = MeetupEvent::class; public string $tableName = 'meetup_events'; public function configure(): void diff --git a/app/Http/Livewire/Tables/MeetupTable.php b/app/Http/Livewire/Tables/MeetupTable.php index 77945f6b..0d1314dc 100644 --- a/app/Http/Livewire/Tables/MeetupTable.php +++ b/app/Http/Livewire/Tables/MeetupTable.php @@ -12,7 +12,6 @@ class MeetupTable extends DataTableComponent { public ?string $country = null; public string $tableName = 'meetups'; - protected $model = Meetup::class; public function configure(): void { diff --git a/app/Http/Livewire/Tables/VenueTable.php b/app/Http/Livewire/Tables/VenueTable.php index 8173cf5f..60fd75e7 100644 --- a/app/Http/Livewire/Tables/VenueTable.php +++ b/app/Http/Livewire/Tables/VenueTable.php @@ -12,7 +12,6 @@ class VenueTable extends DataTableComponent { public string $country; - protected $model = Venue::class; public string $tableName = 'venues'; public function configure(): void