Database
Last updated
Last updated
We use the RDBMS PostgreSQL to store our data in Hugin Cache.
To simplify the testing we provide a database dump. Its real data captured from hugin so its great way to either get some base data in the database to test the API or to try new features!
To load in the data you run the following in the hugin cache folder:
NOTE: For the above to function make sure you HAVE NOT ran the npm run db:migrate commands since this will cause issues!
This Database Diagram demonstrates how we store the data:
To edit the diagram open up the file inside the directory diagrams called database-diagram.drawio.