prompt

Database Migration Plan

Migrate a schema safely with zero or minimal downtime.

Updated June 2026
The prompt
Plan a database migration to {{change}} on a {{db}} database in production. Recommend a safe sequence (expand, migrate, contract), backward-compatible steps, how to handle large tables without locking, data backfill, rollback plan, how to verify correctness, and how to coordinate with deploys. Note the risks of irreversible steps and how to test it first. Scale: {{scale}}.
Did it work? Rate this prompt

Variables

Schema change
Database
Scale

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code