Expand description
Reusable command runner (makemigrations, migrate, rollback,
showmigrations, squashmigrations).
Applications call run from their own binary so makemigrations can
see compiled siderite_orm::ModelMeta. The siderite CLI binary only
applies JSON files; see docs/MIGRATIONS.md.
Structs§
- Exit
Code - Process exit status (
0is success).
Functions§
- make_
migrations - Generate a migration from compiled metadata without going through argv.
- render_
status - The
showmigrationstext for rows ofMigrator::show: one[X] id(applied) or[ ] id(pending) line per migration. - run
- Run a migrations command.