Expand description
Load, validate and write JSON migration files.
Structs§
- Migration
Graph - Graph of visible (non-replaced) migrations, in topological order.
Functions§
- is_
applied - Whether
migrationshould be treated as already applied givenhistory. - load_
dir - Load every
*.jsonfile indir. Missing directories yield an empty list. Each file’s checksum is recomputed from its content. - write_
migration - Pretty-print
migrationas{id}.jsonindir.