gabriel / musehub public
fix patch task/fix-schema-drift #1 / 1
AI Agent gabriel · 6 days ago · Jun 13, 2026 · Diff

fix: ORM↔migration drift — unique constraint, drop unused index, fix merge_strategy default

Migration 0071 created ix_fetch_mpack_cache_repo_tip as a unique index but the ORM model uses UniqueConstraint. Also drops the unused ix_proposal_comments_author_user_id index and updates the merge_strategy server default from state_overlay to overlay (matching migration 0070's data rename).

sha256:b495cfec8059b1f4f9a72993e26e611b559cf3cbf989b4a1121a31e7a99fc7ef sha
+11 symbols
1 changed · 973 in snapshot files
sha256:0dd26099216b9396caa061d1d69d96b9dbba9ed96e1bcd8ecda50fa96ff0995a snapshot
+11
symbols added
1
file changed
973
files in snapshot
0
dead code introduced
Semantic Changes 11 symbols
+ branch_labels variable variable branch_labels L19–19
+ depends_on variable variable depends_on L20–20
+ down_revision variable variable down_revision L18–18
+ downgrade function function downgrade L35–43
+ Sequence import import Sequence L10–10
+ Union import import Union L10–10
+ annotations import import annotations L8–8
+ op import import op L12–12
+ sa import import sa L13–13
+ revision variable variable revision L17–17
+ upgrade function function upgrade L23–31
Files Changed
+1
973 in snapshot
← Older Oldest on task/fix-schema-drift
All commits
Newer → Latest on task/fix-schema-drift

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