PehromGroup

One module, one database

The easiest way to join two features is a shared table. It is also the decision that turns two systems into one system that cannot be separated later. This product makes the opposite choice: every module owns its own database, its own migrations and its own administrator.

Published 18 November 2026

What a shared table really couples

A join across two modules looks free on the day it is written. It is not. The second module’s table becomes part of the first module’s query plan, its migrations become a dependency of the first module’s release, and its administrator can no longer promise that only their people read their data. A change made for one product now has to be proved against another.

Separation removes the choice. A module cannot reach into a neighbour because there is no connection string that leads there, no grant that permits it and no migration that would create the table. The boundary is enforced by the database rather than by a reviewer remembering it.

What it costs, stated plainly

Some reports cannot be one query. A view that spans two modules is either built inside one module from that module’s own data, or it is a separate system reading published exports under an explicit instruction. That work is real and it is not hidden.

A new environment needs several databases instead of one, and a deploy touches each module’s own schema. The cost is paid once by the team that runs the platform, and it buys a failure that stays inside one module. A broken workspace does not take the front door down with it.

How to tell whether it is real

Try to remove a module. If its screens, menu entries and permissions disappear without any other module changing, the separation is real. If its data disappears too, the platform has failed the rule: removing a module never deletes its data, and dropping data is a separate act with its own confirmation.

The same test works for people. Ask one module’s administrator to open another module’s record. The correct answer is that the record does not exist for them, not that a button is hidden. A hidden button is a screen; a refused read is a boundary.

The rule is simple enough to keep: one capability, one owner, one database.

Start a conversation