Skip to main content
Apply and inspect database migrations.

tai db migrate

Apply every pending migration across all discovered components. --plan lists what would be applied and changes nothing. Idempotent: with nothing pending it reports so and exits 0. Loud on a connection failure, an unconfigured connection, or a rewritten (checksum-mismatched) chain.

tai db status

Report each component’s applied / pending / checksum verdict. Exits non-zero when any component has pending migrations or a checksum mismatch, so it doubles as a CI / pre-deploy gate. Loud on a connection failure or an unconfigured connection.