I can see the db file in the left pane of intellij but when I double click the file, nothing is opened. Also, I am on a trial of ultimate edition.
An SQLite database is not a simple file that can be opened via a double click. To access a database, a Database driver needs to be defined to be used with the file. Here's how you can configure the database for use: