Documentation
¶
Overview ¶
Command migratekit is the operator's side of migration identity: it explains a boot refusal and resolves it.
The library refuses to apply a chain whose ledger disagrees with the files, which is right — the alternative is a migration that silently never runs. But a refusal with no resolution path is a headache: the operator is left with psql and a hand-written UPDATE against public.migrations. This command is the missing half.
migratekit status -app tensorhub -dir migrations/postgres migratekit repair adopt 42 --reason "restored 2026-08-10 backup" migratekit repair accept-content 7 --reason "comment typo, DDL unchanged" migratekit apply --allow-below-applied 91 --reason "backport of th#1712" migratekit history -app tensorhub
Every repair writes an audit row (who, when, verb, reason, old and new identity) and touches only the ledger's identity columns — never schema.
Click to show internal directories.
Click to hide internal directories.