19 lines
514 B
Markdown
19 lines
514 B
Markdown
# Database Migration Workflow
|
|
|
|
1. Understand the desired schema or data change.
|
|
2. Inspect current data model, queries, and dependent code.
|
|
3. Identify:
|
|
- forward migration steps
|
|
- backward compatibility concerns
|
|
- rollback considerations
|
|
4. Implement or propose the minimal safe migration path.
|
|
5. Review for:
|
|
- data integrity
|
|
- ordering issues
|
|
- application compatibility
|
|
- deployment timing risk
|
|
6. Summarize:
|
|
- schema/data changes
|
|
- impacted code paths
|
|
- rollout / rollback notes
|