Skip to main content

Technical Decisions

Schema

A schema defines how data is structured in a database. It outlives applications, constrains what you can ask later, and is expensive to change once live.

Definition

A schema is the definition of how data is organised in a database: which tables exist, what fields each holds, what type each field is, and how they relate to one another.

What It Actually Means

It is the shape of everything your system knows: a description, in structural form, of how your business understands its own information.

Note that the same word means something different in search: schema markup is about labelling pages for search engines, and the two are unrelated despite sharing a name.

Why It Deserves Your Attention

Because it outlives everything built on it, and because it silently decides which questions you will be able to answer.

Applications get rewritten and interfaces get redesigned. The schema, and the years of data shaped by it, persists through all of it, and every future system has to work with the decisions made at the start.

The commercial consequence appears as reporting. If a schema records that an order was placed but not who approved it or when the price was agreed, no amount of later development recovers that information for the period before somebody added it. The data was never captured, and history cannot be reconstructed.

That is why the design conversation is worth attending even though nothing about it is visible. It has to support what the system does today and also what you might reasonably want to ask in three years.

What Good Design Prevents

The same fact stored in several places, which drifts apart and produces reports that disagree.

Fields used for something other than their name, which begins the moment somebody needs to store something the schema did not anticipate and a spare column is available.

Everything as text, so dates cannot be compared and amounts cannot be summed reliably.

No history where it matters. Prices, statuses and permissions that are overwritten rather than versioned. This is the most common regret, because the need to answer what it was at the time nearly always arrives eventually.

Why Changing It Is Expensive

Changing a schema on a live system means migrating the data already in it, and doing so without losing anything or interrupting the business.

Adding a field is straightforward. Splitting one field into two, changing a relationship, or correcting a structural decision made three years ago is a substantial project with real risk, because it has to be done against data that already exists in whatever inconsistent state it accumulated.

This is the argument for spending time on it before the build rather than after, and for preferring a slightly more general structure over one that fits only the current requirement exactly.

What To Ask

  • Can you walk me through the data model in plain terms? A supplier should be able to. If they cannot, that is informative.
  • What questions will be hard to answer later? Every design makes some things easy and others hard. Knowing which in advance is worth a great deal.
  • What is kept as history rather than overwritten? Ask specifically about anything commercial or permission-related.
  • What happens when we need to add something the structure did not anticipate? There should be a considered answer rather than an assumption that it will not happen.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

What happens next

  1. 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
  2. 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
  3. 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.