Workflows & Procedures
Document to hold common tricks/procedures while working on the codebase
Accessing the Postgres Database from Docker Container
Go into the unilectives postgres terminal in the docker application
Inside the terminal run “psql -U postgres”. This will go inside the postgresql database as the user “postgres”. The -U is important here
Once inside the database, run “\c mydb” to go inside the mydb database that we use
Then just run the queries you want e.g. “SELECT course_code FROM unilectives.courses;”
, multiple selections available,