gabriel / musehub public
fix patch dev
AI Agent gabriel · 41 days ago · May 7, 2026 · Diff

fix: 0036 schema repair via native PostgreSQL IF NOT EXISTS DDL

Staging postgres was stamped to 0035 before 0035 actually ran (deploy.sh stamp-and-retry escape hatch). This migration re-applies all missing structural changes using op.execute(text(...)) with PostgreSQL's native IF NOT EXISTS / DO $$ syntax — the same proven pattern as 0020 — so it is guaranteed idempotent regardless of schema state.

sha256:1ef9e2609fe5ee722ace6f7d704ba1f7a3ffcd0b06e8338a97bde8636d8efdd7 sha
sha256:7a42dc04a862f8b3268a3e8a6ea42f337970b966f0de827c96003314cb5889ae snapshot
← 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:1ef9e2609fe5ee722ace6f7d704ba1f7a3ffcd0b06e8338a97bde8636d8efdd7 --body "your comment"