
The API Gateway (Kong) uses JWT to authenticate access through to the database. Configure log_min_messages based on your needs. However, you might miss important log messages such as database errors. Set your database's log_min_messages configuration to fatal to prevent redundant database logs generated by Realtime. Supabase Administrative role for maintaining your database. dashboard_userįor running commands via the Supabase UI. Used by the Auth middleware to connect to the database and run migration. This role is used by the API (PostgREST) to bypass Row Level Security. This is the role which the API (PostgREST) will use when a user is logged in. "change into" another role determined by the JWT verification. It has very limited access, and is used to validate a JWT and then authenticatorĪ special role for the API (PostgREST). This is the role which the API (PostgREST) will use when a user is not logged in. Role passwords before deploying to production environments. To restore defaults at any time you can run the commands inside the Supabase creates several default roles in your Postgres database. pgcrypto and pgjwtįor working with JWT and Auth functions. Since all tables in the public schema are exposed via the API.įor UUID functions, required for PostgreSQL <13. We recommend installing all extensions into an extensions schema. To run automatically when starting the database container. These are mounted at /docker-entrypoint-initdb.d Supabase requires some Postgres extensions to be enabled by default for the API and Auth system to work. The "middleware" is everything except Postgres, and it should work with any Postgres provider (such as AWS RDS), or your own Postgres cluster.
#Postico postgres upgrade
It is recommended that you decouple your database from the middleware so that you can upgrade the middleware without any downtime.

If the tool doesn't exist, we build and open source it ourselves. If the tools and communities already exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool. Supabase is a combination of open source tools, each specifically chosen for Enterprise-readiness. Docker: deploy to your own infrastructure.We will manage and scale your infrastructure. Supabase Cloud: you don't need to deploy anything.
