Setting Up The Database - KSU-CS-Software-Engineering/HSPC GitHub Wiki
To set up the tables on the database, refer to the following instructions:
- Open the terminal and type "sudo docker ps" to ensure the database container is running.
- Right click the newly created connect and select "SQL Editor".
- Within the "API" folder of the repo, copy the SQL code found within the "Database" folder into the dbeaver SQL editor.
- Run the commands to create the database and the list of tables.
- Refresh the list of databases within the connection and ensure "hspc_database" is set to actice.