3 Laravel Migration Pitfalls and How to Fix Them
Originally published at recca0120.github.io
I recently hit several pitfalls when using migration:rollback. Here are the common mistakes and how to catch them early with tests.
Common Mistakes
Adding and dropping columns in the same closure
// Bad
Sch...
recca0120.hashnode.dev2 min read