Public repository: timo / mitch

Reader

A migration stitcher (therefore mitch) for PostgreSQL, SQLite, MariaDB, and others

mitch / docs / adr / runner / multiple-projects-per-database.md · 476 bytes · at 76a2c3d332a1 · raw


status: accepted

One database can hold several projects

Mitch's bookkeeping tables scope every applied migration by project, with a project registry table that maps project IDs to a local integer key. We chose this over one bookkeeping table per project, or one database per project, because a deployment that pulls migrations from several projects (its own plus shared ones) must record all of them in one place, and project IDs must not clash with migration IDs.