diff --git a/configuration.rst b/configuration.rst index 3b76ea765..4bccf0d8c 100644 --- a/configuration.rst +++ b/configuration.rst @@ -440,8 +440,8 @@ For example, you can configure :ref:`db-schema` and :ref:`jwt-secret` like this: .. code:: postgresql - ALTER ROLE authenticator SET pgrst.db_schema = "tenant1, tenant2, tenant3" - ALTER ROLE authenticator SET pgrst.jwt_secret = "REALLYREALLYREALLYREALLYVERYSAFE" + ALTER ROLE authenticator IN DATABASE SET pgrst.db_schema = "tenant1, tenant2, tenant3" + ALTER ROLE authenticator IN DATABASE SET pgrst.jwt_secret = "REALLYREALLYREALLYREALLYVERYSAFE" Note that underscores(``_``) need to be used instead of dashes(``-``) for the in-database config options.