The Fuel Indexer uses Postgres as the database on the data layer.
- How to use different data types from your Sway contract, all the way to your Postgres table
- Some of the conventions used in the Fuel Indexer's data layer
- Foreign Keys
- How foreign keys are handled in GraphQL schema, Postgres, and SQLite
- How GraphQL schema directives are translated into data-layer constraints