I'm using ClearDB
with Heroku
.
I managed to make the migrations that I needed but when I can't find the way to execute queries using the terminal as below:
SELECT * from table
.
Thanks in advance.
I'm using ClearDB
with Heroku
.
I managed to make the migrations that I needed but when I can't find the way to execute queries using the terminal as below:
SELECT * from table
.
Thanks in advance.
Format:
example:
How to find login info
Use this command in your heroku repo:
heroku config
Look for the
CLEARDB_DATABASE_URL
Format:
Example:
After connecting, just
USE heroku_db_name
and query away!