
Laravel Migrations: Add Foreign Keys Without Locking
Part 1 covered indexes and Part 2 covered columns. The next Laravel migrations most teams get wrong...
Oct 2, 20265 min read0 reactions0 comments
Tag archive

Part 1 covered indexes and Part 2 covered columns. The next Laravel migrations most teams get wrong...
Converting data from Excel spreadsheets into SQL INSERT statements is a routine task for many data...
A plain ADD CONSTRAINT ... FOREIGN KEY validates every row while holding locks on the child and the parent. The NOT VALID and VALIDATE split that avoi