harbor-db

Lifecycle operations without owning your database.

Projects keep idempotent ensure/check commands. harbor-db owns ordering, confirmation, readiness, credentials, state directories, and the deployment envelope.

Project surface

`services.harbor-db.projects.<name>` generates migrate and check units, then orders runtime services after them.

Framework-agnostic

No baked-in migration framework, database, or application. Schema, backfills, backups, grants, and cutovers all fit.

Postgres helpers

Optional database URL, setup units, and runtime-role grants for Postgres-backed services.

Pink Raven shape

Keep SQLx behind `raven db migrate` and let harbor-db own users, grants, and unit order.

Add it

Import the NixOS module and declare a project runner.

Open full install guide