Create Tables

You can create tables in directly PostgreSQL. But, for Hasura and the GraphQL API to use the new tables you must manually track tables that are created outside of the Hasura Console.

Here we are creating a new table todos directly in PostgreSQL (outside the Hausura console).

Create new table in PostgreSQL

When we go to our Haura console we can see that the new table todos is untracked, which means that Hasura does not include that table in the GraphQL API. Simply track the table.

Track table created outside the Hasura console