How do you limit access to the production environment in the company you work for?
If your question is how to manage database changes consider something like Flyway. This lets you control your changes via tracked config files in your repository and apply them via an automated &amp; controlled process - use your normal code review &amp; promotion steps.

If the question is "how do I get devs to stop bugging me to run arbitrary SQL commands" then you may want to consider scripting out a way to automate it or giving them a 3rd party UI to use with an account that's locked down to prevent changes &amp; restricts them from seeing any sensitive tables. YMMV depending on the layout of your DB.