Migrations: Careful With Constrained() and Nullable()

Migrations: Careful With Constrained() and Nullable()

There is one typical mistake that you may make and not even notice the bug it causes.
Official docs: https://laravel.com/docs/9.x/migrations#foreign-key-constraints

- - - - -
Support the channel by checking out my products:
- My Laravel courses: https://laraveldaily.com/courses
- Laravel QuickAdminPanel: https://quickadminpanel.com
- Livewire Kit Components: https://livewirekit.com

- - - - -
Other places to follow:
- My weekly Laravel newsletter: https://us11.campaign-archive.com/home/?u=a459401212599a54203d036ee&id=91c1337873
- My personal Twitter: https://twitter.com/povilaskorop

Migrations:CarefulConstrained()

Post a Comment

0 Comments