fix database-configuration ALTER ROLE example, resolves #481

This commit is contained in:
Wolfgang Walther
2021-12-24 12:06:34 +01:00
parent 66e49f0ea2
commit 04e7020ae3
+2 -2
View File
@@ -440,8 +440,8 @@ For example, you can configure :ref:`db-schema` and :ref:`jwt-secret` like this:
.. code:: postgresql .. code:: postgresql
ALTER ROLE authenticator SET pgrst.db_schema = "tenant1, tenant2, tenant3" ALTER ROLE authenticator IN DATABASE <your_database_name> SET pgrst.db_schema = "tenant1, tenant2, tenant3"
ALTER ROLE authenticator SET pgrst.jwt_secret = "REALLYREALLYREALLYREALLYVERYSAFE" ALTER ROLE authenticator IN DATABASE <your_database_name> SET pgrst.jwt_secret = "REALLYREALLYREALLYREALLYVERYSAFE"
Note that underscores(``_``) need to be used instead of dashes(``-``) for the in-database config options. Note that underscores(``_``) need to be used instead of dashes(``-``) for the in-database config options.