Task prompt · Coding
Write a migration plan from one database to another
by Agent Yard TeamGet a step-by-step, low-risk plan to move data between databases.
Use cases
- Get a step-by-step, low-risk plan to move data between databases.
- Reuse it as often as you like: fill in the blanks (current database; new database; approx data size) with new details and copy again.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Claude Code prompts for building web apps, Best ChatGPT prompts for SQL and databases.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Fill in the highlighted blanks ([CURRENT DATABASE], [NEW DATABASE], [APPROX DATA SIZE]…) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
I need to migrate from [CURRENT DATABASE] to [NEW DATABASE]. Size: [APPROX DATA SIZE]. Downtime allowed: [DOWNTIME ALLOWED]. Write a migration plan with: - Schema and type differences to watch for - A dual-write or snapshot-and-sync strategy (pick one and say why) - Step-by-step runbook with commands - How to verify row counts and checksums - Rollback plan at each step - A checklist for the cutover day
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.