Deeper dive into how schemas work in Basic
basic.config.ts
or basic.config.js
file that lives in your repository.
These basic.config
files can be committed to git, and unlock “schema-as-code” capabilities for your project.
Basic schemas are very similar to SQL/Postgres tables with the following differences:
id
and created_at
fields are created automatically for youcollection
, which will operate similarly to MongoDB collections.string
, number
, boolean
, json
.true
.