Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#CI/CD

Advanced AI Prompt for Database Migration Synchronization CI

Customize the variables below to instantly engineer your prompt.

Required Variables

database-migration-synchronization-ci.txt
Act as a Lead Database Reliability Engineer. Architect a failsafe GitHub Actions workflow to strictly govern schema migrations for [DB_ENGINE]. The workflow must: 1) Trigger exclusively on merges to the production release branch. 2) Instantiate an ephemeral, isolated service container (e.g., Postgres/MySQL) directly within the GitHub Actions runner. 3) Execute the SQL/ORM migration scripts located in [MIGRATION_PATH] against this ephemeral container to validate schema syntax and prevent destructive locks. 4) Upon successful validation, execute the exact same migrations against the live production database utilizing the highly secure [DB_URL_SECRET]. 5) Integrate an error-handling webhook to alert the engineering Slack channel immediately if the production migration fails.

Example Text Output

"A database-aware YAML using 'docker-compose' or 'services' in GitHub Actions to validate SQL/ORM migrations before production."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Database Migration Synchronization CI" prompt used for?

A database-aware YAML using 'docker-compose' or 'services' in GitHub Actions to validate SQL/ORM migrations before production.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.