I'm trying to use the database tool in intellij (pycharm) instead of the usual postgres cli psql
.
However although the IDE can connect to postgres and see the different databases I can't seem to see any tables within in for some reason. There doesn't seem to be a helpful guide to set this up unfortunately.
Intellij:
The connection to the database needs to be specific to that database not just the general postgres database.
eg in View-> Tool windows-> Database
Then click on database setting icon and for the url have (on osx at least):
jdbc:postgresql://localhost:5432/yourdatabase