Files
gh-greyhaven-ai-claude-code…/skills/database-conventions/checklists/migration-checklist.md
2025-11-29 18:29:10 +08:00

29 lines
630 B
Markdown

# Migration Checklist
**Use before applying database migrations.**
## Before Migration
- [ ] Backup database
- [ ] Test migration in development
- [ ] Test migration rollback
- [ ] Review generated SQL
- [ ] Check for breaking changes
- [ ] Coordinate with team if breaking
## Migration Quality
- [ ] Migration is reversible (has downgrade)
- [ ] No data loss
- [ ] Preserves existing data
- [ ] Handles NULL values correctly
- [ ] Default values provided for NOT NULL
## After Migration
- [ ] Migration applied successfully
- [ ] Application tested
- [ ] Rollback tested
- [ ] Performance verified
- [ ] No errors in logs