DEV Community

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

Posted on • Edited on

1

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore this insightful post in the vibrant DEV Community. Developers from all walks of life are invited to contribute and elevate our shared know-how.

A simple "thank you" could lift spirits—leave your kudos in the comments!

On DEV, passing on wisdom paves our way and unites us. Enjoyed this piece? A brief note of thanks to the writer goes a long way.

Okay