So what is the problem with sqlite?

This is not considered a good practice in general, you want every environment to be equal to production. It’s simple engineering 101. Although if it’s your own little project don’t let this stop you.

And lots of projects out there rely on database specific features.