Skip to content
Pedro Bernáldez Torres edited this page Mar 20, 2019 · 2 revisions

To purge the backend database the following steps must be followed:

  1. Log in as postgres user: sudo su - postgres.
  2. Open PostgreSQL console: psql.
  3. Delete the old database: DROP DATABASE IF EXISTS soundgo;.
  4. Recreate the database: CREATE DATABASE soundgo;.
  5. Give privileges to admin: GRANT ALL PRIVILEGES ON DATABASE soundgo TO admin;
  6. Exit PostgreSQL console: \q.
  7. Log out: exit.

Clone this wiki locally