Skip to content

v1.1.0 — Dependencies panel (FK dependency graph)

Choose a tag to compare

@MR-TABATA MR-TABATA released this 04 Jul 05:21
· 26 commits to main since this release

Additive release on top of the 1.0 multi-DB launch.

Added

  • Dependencies panel — the foreign-key graph of the current database, topologically sorted (graphlib.TopologicalSorter) into a safe TRUNCATE/DELETE order and its reverse (the INSERT/load order). Foreign-key cycles are detected and named (no valid order exists), self-referential keys are flagged, and the edges are listed for inspection.
  • Read-only — nothing is truncated; the order is only computed and shown.
  • Works for both PostgreSQL (pg_constraint) and MySQL (information_schema.KEY_COLUMN_USAGE).

Full changelog: https://github.com/MR-TABATA/cli2ui/blob/main/CHANGELOG.md