If you're going in the other direction --- changing a foreignId from nullable to non-nullable --- you need to do things in a slightly different order: first dropForeign, then change the id to be non-nullable ($table->unsignedBigInteger('category_id')->change();), then (re)create the foreign key.
Thanks for the video, very useful. Would be also good to see a video about how to set up application laravel with mysql on docker, docker is required on a lot of vaccancies, and some people struggle with it
There are so many options for docker that I can't shoot video on all of them. Just read the docker documentation and search for various docker examples how different people implement it.
Pusher and Livewire are two different topics, you can use Pusher without Livewire. I'm planning some content around that but only later in 2021, now focused on other topics.
Hello , I have problem with wire:loading in livewire. I have global modal view-component. And inside it i have $slot for body and footer with buttons. Buttons same for all elements. Only body changes. And i am adding livewire components to modal view component. Button has wire:click and emit event inside livewire component. Inside livewire component has another wire:click. When i add wire:loading for spinner when request sent it happens in all wire:click but i want to call it in only modal confirm. My wire:loading component is also inside livewire component. When i add wire:target for it didnt happen. How can i do that?
Here are a few examples of HTTP Client: laravelexamples.com/tag/laravel-http-client Also made a video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oEDDZsmMLc0.html
Sir, just want to ask, how can i backup database (lets say MySql) into another database (also mysql) and delete old records in database I got accounting app (laravel), every end of year, i have to copy all transaction records into new mysql dan make migrate fresh. What i want is the admin just click "backup" button and all the process begin automatically