Skip to content

docs: Add database backup guidance before schema migrations#39

Merged
evansenter merged 1 commit into
mainfrom
docs/db-backup-guidance
Jan 2, 2026
Merged

docs: Add database backup guidance before schema migrations#39
evansenter merged 1 commit into
mainfrom
docs/db-backup-guidance

Conversation

@evansenter

Copy link
Copy Markdown
Owner

Summary

  • Add guidance to always back up the database before making schema or migration changes
  • Learned from claude-event-bus migration that had subtle bugs corrupting data

🤖 Generated with Claude Code

Migrations can have subtle bugs (race conditions, data transform issues)
that corrupt data irreversibly. Always back up before schema changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@claude

claude Bot commented Jan 2, 2026

Copy link
Copy Markdown

Prompt: evansenter/dotfiles/.../claude-review.md

Code Review

Summary

This PR adds documentation to CLAUDE.md advising developers to always back up the database before making schema or migration changes, including a ready-to-use backup command.

Verdict

APPROVE - Code looks good, no issues found.


Automated review by Claude Code

@evansenter evansenter merged commit 860397e into main Jan 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant