How the database is built, and how two people get the same one.
A carefully produced database is one undocumented edit away from being stale if it cannot be rebuilt from its source.
A carefully produced database is one undocumented edit away from being stale or defective if it cannot be rebuilt from its source. And if two people cannot easily get their system into the same starting state, there is no shared reference to speak of.
Not a database on its own: a database, a pinned Open mSupply version and a pinned Grafana version, tested together and handed over as one thing. Somebody presses go and gets a working system rather than a set of parts to assemble.
Everything comes from a source workbook and a set of scripts. Master data is imported first, then three years of stock and transactions are generated on top of it — far too much to enter by hand.
Fixed inputs, fixed ordering, and dates derived from a single anchor rather than from the clock. The test is not that it looks right: it is that building twice from the same inputs produces the same database, checked by comparing the two.
Anyone can get a working system with no steps beyond pressing go. The snapshot can be regenerated by someone other than the person who built it. Two builds from the same inputs match. And nothing in the build depends on a person remembering to do something.