A co-worker pointed out to me the other day that PyCharm has SQL querying and refactoring built in as well. Starting to use it as a data grip like IDE as well.
It might be that the version of the plugin in Data Grip is a bit newer and the UI might be a bit more optimized for pure database management, but the functionality should be more or less the same.