🗃️Database Schema
Also known as Schema
The plan of a database. It lists the tables, columns, types and links.
Think of it like
Think of it like the floor plan of a house. It shows every room and door before anyone moves in.
Example
Emma draws her schema before she writes code. It has customers, orders and products, with an arrow for each link.
Why it matters
The schema shapes everything built on top. Fixing a bad one later means moving real data.
Definition
Common mistake
Key takeaways
- 1The plan. Tables, columns, types, links.
- 2Enforced. Data that does not fit is refused.
- 3Change with care. Use migrations, not hand edits.