Run database migrations for a deploy
One step with Netlify. We can help you get access.
Get something done
Run database migrations for a deploy
with Netlify · IT Infrastructure Management
Works with AI assistants
Use Netlify: its Netlify's API documentation Database API lets you run database migrations for a deploy in a single step (POST /sites/{site_id}/database/migrations/{deploy_id}). Netlify also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I apply database migrations as part of a deploy?
- Can I do a dry run of migrations before applying them?
Say it to your AI assistant
- Run database migrations for deploy {deploy} on site {site}.
- Dry-run the migrations for deploy {deploy} of site {site} without applying them.
For your developer
POST /sites/{site_id}/database/migrations/{deploy_id} in Netlify's API documentation Database API. Full spec on APIs.io.