diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 3a20505..236bf62 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -50,6 +50,12 @@ public function register(): void */ public function boot(): void { + \Illuminate\Database\Schema\Blueprint::macro('userIdFields', function () { + $this->unsignedInteger('created_by')->nullable(); + $this->unsignedInteger('updated_by')->nullable(); + $this->unsignedInteger('deleted_by')->nullable(); + }); + \Livewire\Livewire::component('app.filament.pages.price-list-processor', \App\Filament\Pages\PriceListProcessor::class); /* \Livewire\Livewire::component('filament.livewire.notifications', \Filament\Livewire\Notifications::class);