Database development · Data modeling · PostgreSQL / MySQL

A data model that still holds up three years from now.

We develop databases for new products and systems: with a data model that knows the questions your business will ask, integrity rules that keep errors from getting in at all, and migrations that run without downtime.

01Data model

Entities, relationships and rules derived from the business.

02Access paths

Indexes, partitions and queries based on real usage.

03Lifecycle

Migrations, history, deletion and operations built in.

The new bottleneck

Any AI can generate a schema today. It doesn't know your future.

From a feature list, an AI assistant produces tables, foreign keys and migration scripts in seconds. The result fits today's features. What's missing are tomorrow's questions: How does history stay traceable? Who may see which data? What happens with tenants, currencies, time zones and deleted customers? These decisions become the most expensive rebuilds later.

On your own with AI

First table drafts, SQL queries, migration scripts and test data for prototypes.

With XOR

A data model for a product that is meant to grow: with integrity rules, history, multi-tenancy, data protection and a migration path without downtime.

Database design

From the business to the table. Not the other way around.

A good data model starts with the business's terms and decisions, not with screen layouts. That keeps it stable when interfaces change.

  1. 01TermsEntities, states, rules
  2. 02ModelKeys, relationships, constraints
  3. 03AccessQueries, indexes, volume
  4. 04ChangeMigrations, history, deletion
Services

What we actually build.

Data modeling

Relational models with clear keys and constraints, deliberately chosen normalization and a documented meaning for every table.

Technology choice

PostgreSQL, MySQL, search, cache or time series: the simplest combination that meets the requirements – not the most fashionable one.

History and traceability

Change history, audit trails and point-in-time states wherever billing, legal or analytics need them.

Tenants and permissions

Separation of customers, roles and rights in the data model instead of only in the application.

Privacy by design

Deletion concepts, pseudonymization and retention periods that can actually be implemented technically.

Migrations without downtime

Versioned schema changes, backfills and cutovers that work while the system is live.

Approach

Questions first. Then the tables.

  1. 01

    Clarify terms and rules

    What is a customer, an order, a contract? Which states exist, and what must never happen? This produces the domain model.

  2. 02

    Estimate queries and volume

    Which questions does the product ask, how often, with what data volume in three years? Access paths and technology follow from that.

  3. 03

    Validate the model with a prototype

    Realistic test data and the most important queries show early whether model and indexes hold up.

  4. 04

    Ship with a migration path

    Schema, migrations, documentation and monitoring go live together – ready for the next change.

Honest fit

When it's worth it. And when it's not.

Worth it when …

a product with a growing data set is being built, data has to be billed, audited or legally proven, or several systems depend on the same source of truth.

Probably not when …

an off-the-shelf product manages the data anyway, it's a short-lived prototype, or the data volume stays small and uncritical for good.

FAQ

Before the first schema.

Can't AI generate the schema from our requirements?

A draft, yes – we use that ourselves. Whether the model holds up to history, tenants, data protection, volume and future changes is a decision with consequences for years. We take responsibility for it and test it with realistic data.

SQL or NoSQL?

For most business applications, a relational database like PostgreSQL is the most robust choice. Specialized systems complement it where search, caching or time series truly require them.

Do you also handle the application integration?

Yes. We build data access, ORM usage, transactions and interfaces alongside, so the application uses the model the way it was intended.

References

Foundations.

Next step

What question will your product ask of its data three years from now?

30-minute first meeting