Docs - update db init

This commit is contained in:
Sam 2022-10-30 08:49:51 +01:00
parent 0f93f53151
commit 09f64eeccd

View File

@ -364,9 +364,12 @@ Example :
.. code-block:: sql .. code-block:: sql
CREATE DATABASE fittrackee;
CREATE USER fittrackee WITH PASSWORD '<PASSWORD>'; CREATE USER fittrackee WITH PASSWORD '<PASSWORD>';
GRANT ALL PRIVILEGES ON DATABASE fittrackee TO fittrackee; CREATE SCHEMA fittrackee AUTHORIZATION fittrackee;
CREATE DATABASE fittrackee OWNER fittrackee;
.. note::
| see PostgreSQL `documentation <https://www.postgresql.org/docs/15/ddl-schemas.html>`_ for schema and privileges.
- Initialize environment variables, see `Environment variables <installation.html#environment-variables>`__ - Initialize environment variables, see `Environment variables <installation.html#environment-variables>`__