Step 03 of 10 2-3 weeks· advanced
Step 3: Map the Data Model
Plan how data moves from on-prem SQL Server to cloud-hosted DB, including any schema reshape and stored-procedure migration.
Recommended prompts
Use one of these to do the work in your IDE
Open the template to read it in full. Click Copy prompt to grab it (with your stack values pre-filled where they apply) — then paste into Claude Code, Cursor, or wherever you build.
Recommended skills
Drop these into Claude Code for this phase
Skills auto-trigger on the right kind of request. Install once; they apply to every prompt that fits.
Recommended MCP configs
Wire these tools into Claude Code first
MCP servers give Claude Code direct access to external systems (Jira, browsers, databases). Configure once.
When you're done
Verify these in your own work before moving on
This is a checklist for you to mentally tick off in your repo and IDE — the site doesn't track it, you do.
- Data migration plan at /docs/migration/data-plan.md
- Schema mapping (source → target, with transformations)
- Stored-procedure migration decisions per proc (translate / rewrite / view / decommission)
- Migration strategy chosen (big-bang / dual-write / CDC / trickle)
- Data quality audit completed (orphans, duplicates, NULL violations)
- Validation queries written
Common pitfalls
What goes wrong at this step
- "We'll use the same database" — sometimes the right answer; sometimes the schema needs reshape and skipping it forces it later
- Missing stored-procedure logic — WinForms apps often delegate heavily to procs
- Data-quality issues surfacing only at migration — audit BEFORE you're committed
- Big-bang migration of large data — may exceed your downtime window; plan accordingly