This is the SQL (PostgreSQL) code for the platform's database.
Naturally, PostgreSQL must be installed and running before starting.
The following must also be installed on the system:
-
PostgreSQL (+PostgREST) handle authentication and permissions via JWT using pgjwt
-
UUID's and other checksums are generated via pgcrypto. Which is generally installed with any PostgreSQL server
You should configure the first lines of the makefile
to your needs.
If everythingis set up properly, you chould be able to run
$ bmake dbcreate dbbuild