gabriel / musehub public
fix patch task/migration-0046-snapshot-entries #1 / 1
gabriel · 68 days ago · Apr 13, 2026 · Diff

fix: add migration 0046 to re-create musehub_snapshot_entries

Migration 0043 dropped the table as dead schema weight. Adding MusehubSnapshotEntry back to the ORM for TDD snapshot-diff work caused schema drift that crashed startup (assert_schema_matches_orm detected missing table).

Migration 0046 re-creates the table with wider path column (4096 vs 1024) to match the ORM and support deep file hierarchies. Updates migration count and head assertions in test_musehub_alembic.py and test_migrations.py.

sha256:6fa1f603c7810b4dfea38cd7d3d3ab73ec254b9dd36f9ff5afda1955da8a0583 sha
sha256:0a6a17207f9b021f4961a51e6db6fec77253b7ef2fa993f7d253cee8424e24a4 snapshot
← Older Oldest on task/migration-0046-snapshot-entries
All commits
Newer → Latest on task/migration-0046-snapshot-entries

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:6fa1f603c7810b4dfea38cd7d3d3ab73ec254b9dd36f9ff5afda1955da8a0583 --body "your comment"