How to make Hasura connect to a specific postgresql schema

331 views Asked by At

By default when i connect Hasura to a postgres database, it connects to the public schema.

Isn't there an option to connect to a different schema?

1

There are 1 answers

2
Alex Yu On BEST ANSWER

Hasura needs 2 schemas to work: hdb_catalog and hdb_views.

All other schemas are optional.

You can register objects from any schema if hasurauser has access to them.

schemas-in-hasura