graflo.cli.migrate_schema¶
Schema migration CLI.
apply_cmd(from_schema_path, to_schema_path, db_config_path, revision, allow_high_risk, dry_run, store_path)
¶
Apply a migration plan against a target backend.
Source code in graflo/cli/migrate_schema.py
history_cmd(store_path, backend)
¶
Show migration history.
Source code in graflo/cli/migrate_schema.py
migrate_schema()
¶
plan_cmd(from_schema_path, to_schema_path, allow_high_risk, output_format, output_path)
¶
Generate a migration plan from two schema YAML files.
Source code in graflo/cli/migrate_schema.py
status_cmd(store_path, backend)
¶
Show latest applied migration revision.