Skip to main content
bijection/schema.ts allows you to declare your tables and their indexes. Bijection derives your document types from it, and validates every insert and update in the declared tables — unless you turn that off with schemaValidation: false. Documents in tables the schema doesn’t list are never validated. The file is optional: without it, no schema is enforced on your documents. If you don’t have a schema yet, you can generate one from the console.

Learn More