gabriel / musehub public
refactor BREAKING dev
AI Agent gabriel · 141 days ago · May 3, 2026 · Diff

refactor: rename gravity columns to match muse CLI field names exactly

gravity_direct → gravity_direct_dependents gravity_transitive → gravity_transitive_dependents gravity_depth_dist → gravity_depth_distribution

Migration 0006 renames the columns in DB. All references updated: model, provider, routes, templates, tests.

sha256:897ebffc2445911626d6827ef24cbe7990c3e5cfa2e82050fb647e688e2e8b75 sha
+14 ~28 −4 symbols
sha256:1cc972ae0fb58f79eb8a854d3f95b84ebe53277066cecdbe79941925baab9fd2 snapshot
+14
symbols added
~28
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes 46 symbols
+ branch_labels variable variable branch_labels L22–22
+ depends_on variable variable depends_on L23–23
+ down_revision variable variable down_revision L21–21
+ downgrade function function downgrade L35–41
+ Sequence import import Sequence L16–16
+ Union import import Union L16–16
+ annotations import import annotations L14–14
+ op import import op L18–18
+ revision variable variable revision L20–20
+ upgrade function function upgrade L26–32
~ tests/test_phase3_gravity_schema.py .py 4 symbols added, 4 symbols removed, 15 symbols modified
test_P3_02_gravity_direct_column_exists method method test_P3_02_gravity_direct_column_exists L56–59
test_P3_03_gravity_transitive_column_exists method method test_P3_03_gravity_transitive_column_exists L61–64
test_P3_05_gravity_depth_dist_column_exists method method test_P3_05_gravity_depth_dist_column_exists L71–74
test_P3_09_gravity_depth_dist_is_nullable method method test_P3_09_gravity_depth_dist_is_nullable L98–101
+ test_P3_02_gravity_direct_dependents_column_exists method method test_P3_02_gravity_direct_dependents_column_exists L56–59
+ test_P3_03_gravity_transitive_dependents_column_exists method method test_P3_03_gravity_transitive_dependents_column_exists L61–64
+ test_P3_05_gravity_depth_distribution_column_exists method method test_P3_05_gravity_depth_distribution_column_exists L71–74
+ test_P3_09_gravity_depth_distribution_is_nullable method method test_P3_09_gravity_depth_distribution_is_nullable L98–101
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:897ebffc2445911626d6827ef24cbe7990c3e5cfa2e82050fb647e688e2e8b75 --body "your comment"