Laravel Laravel Database Stuff Tricks and Tips
Here is my list of tips, tricks and short articles for doing related tasks in Laravel.
- How to change the order that migrations happen?
- How to fix the MySQL related "Specified key was too long error" error in Laravel
- How to group a SQL statement in brackets/parenthesis
- How to increment a value in the database
- How to show (or log) all SQL queries executed by Laravel
- What kind of database field type should you (normally) use for foreign keys?
Laravel Laravel Database Stuff Cheatsheet (all on one page)