fix: widen muse_cli_models ORM to String(128) + migrate repo_id columns
ORM definitions for muse_commits, muse_snapshots, muse_objects, and muse_tags were still String(64/36) even though the DB columns were already widened by the previous migration. Two fixes:
1. muse_cli_models.py — all ID and repo_id columns updated to String(128) to match the live DB schema and accommodate sha256-prefixed IDs (71 chars).
2. widen_repo_id_columns_to_128.py — new Alembic migration (b2c3d4e5f6a1) widens muse_commits.repo_id and muse_tags.repo_id from VARCHAR(36) to VARCHAR(128). The previous migration missed these columns since repo_id stores genesis fingerprints (sha256:<hex> = 71 chars) not UUIDs (36 chars).
sha256:f111b369a3af7d58b44184d1dc9334bace7818b40eb4b3a970ff08aab389c4f4
sha
sha256:a1ed999702b03d935a0399a1785d130404490bb94c7e1a4ca760195c570594f0
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f111b369a3af7d58b44184d1dc9334bace7818b40eb4b3a970ff08aab389c4f4 --body "your comment"
No comments yet. Be the first to start the discussion.