Schema
Schema
The blueprint for your database: which tables exist, and which columns (name, number, date...) each table has.
💡 It's the list of column titles and column types you decide on before making a spreadsheet.
🤖 Say this to your AI
Design the data schema for a booking site. First show me a table with the table names, column names, column types, whether each is required, and how the tables connect. Build it after I confirm.
The key word is ‘Schema’. Including it helps AI understand you much more precisely.
When to use it
- When you build a feature that saves data for the first time
- When you decide how tables connect (users and orders)
- When the AI creates a schema.ts or schema.prisma file
Also called: schema, database design, table design, data structure, erd, column, columns, field, fields