DEV Community

Cover image for MySQL reserved words checker for Laravel migrations on PhpStorm
Claudson Martins
Claudson Martins

Posted on • Updated on

MySQL reserved words checker for Laravel migrations on PhpStorm

In this article we are going to setup a kind of "typo checker" on PhpStorm to look for MySQL reserved words being used as column names in your Laravel migration files. Although it's fine to name columns whatever you like, there is one small issue when writing raw SQL queries against the database when you do use reserved words as column names.

This article was moved to my personal blog. Click here to see the full post.

Top comments (0)